Lines Matching refs:CHECK
97 // Helper function used by the CHECK function when given code
250 CHECK(!try_catch.HasCaught());
277 CHECK(!try_catch.HasCaught());
417 // Check that the debugger has been fully unloaded.
419 // Check that the debugger context is cleared and that there is no debug
421 CHECK(Isolate::Current()->debug()->debug_context().is_null());
428 // Iterate the head and check that there are no debugger related objects left.
431 CHECK(!obj->IsDebugInfo());
432 CHECK(!obj->IsBreakPointInfo());
434 // If deep check of functions is requested check that no debug break code
442 CHECK(!Debug::IsDebugBreak(it.rinfo()->target_address()));
444 CHECK(!Debug::IsDebugBreakAtReturn(it.rinfo()));
462 // Check that the debugger has been fully unloaded.
484 // Compile a function, set a break point and check that the call at the break
497 // Check that the debug break function is as expected.
499 CHECK(Debug::HasDebugInfo(shared));
511 CHECK(Debug::IsDebugBreakAtReturn(it1.it()->rinfo()));
514 // Clear the break point and check that the debug break function is no longer
517 CHECK(!debug->HasDebugInfo(shared));
518 CHECK(debug->EnsureDebugInfo(shared));
527 CHECK(!Debug::IsDebugBreakAtReturn(it2.it()->rinfo()));
671 CHECK(result->IsString());
683 CHECK(result->IsNumber());
693 CHECK(result->IsNumber());
706 CHECK(result->IsString());
722 CHECK(result->IsString());
742 CHECK(result->IsString());
777 // Check whether the exception was uncaught.
859 CHECK(data->IsFunction());
904 // Check that the current function is the expected.
905 CHECK(break_point_hit_count <
911 CHECK(result->IsString());
1087 // Check the debug break code stubs for call ICs with different number of
1125 CHECK(!HasDebugInfo(foo));
1126 CHECK(!HasDebugInfo(bar));
1130 CHECK(HasDebugInfo(foo));
1131 CHECK(!HasDebugInfo(bar));
1135 CHECK(HasDebugInfo(foo));
1136 CHECK(HasDebugInfo(bar));
1140 CHECK(!HasDebugInfo(foo));
1141 CHECK(HasDebugInfo(bar));
1145 CHECK(!HasDebugInfo(foo));
1146 CHECK(!HasDebugInfo(bar));
1969 // Call f and check that the script break point is active.
1979 // Call f and check that no break points are set.
1988 // Call f and check that the script break point is active.
2032 // Call f and g and check that the script break point is active.
2042 // Call f and g and check that the script break point is no longer active.
2052 // Call f and g and check that the script break point is active.
2093 // Call f and check that the script break point is active.
2102 // Call f and check that no script break points are active.
2110 // Call f and check that the script break point is active.
2163 // Check that a break point was hit when the script was run.
2167 // Call f and check that the script break point.
2172 // Call g and check that the script break point.
2181 // Call g and check that the script break point in h is hit.
2251 // Call f and check that there was no break points.
2256 // Recompile and run script and check that break point was hit.
2261 // Call f and check that there are still no break points.
2501 // Copies a C string to a 16-bit string. Does not check for buffer overflow.
2515 // each character. Does not check for buffer overflow.
3675 // Check stepping where the if condition in bar is false.
3680 // Check stepping where the if condition in bar is true.
3726 CHECK(r->IsFunction());
3737 // number of debug event exception callbacks are used to check that the
3739 // check that uncaught exceptions are still returned even if there is a break
3903 // Check initial state.
4034 // only available in debug mode only check for it in that case.
4036 CHECK(v8::internal::FLAG_verify_heap);
4147 // Check that no DebugBreak events occured during the context creation.
4228 CHECK(CompileRun(
4230 CHECK(CompileRun(
4232 CHECK(CompileRun(
4244 // Check the expected number of properties.
4270 // Check that the properties are interceptor properties.
4275 CHECK(CompileRun(buffer.start())->BooleanValue());
4282 CHECK(CompileRun(buffer.start())->BooleanValue());
4289 // Check that the properties are interceptor properties.
4294 CHECK(CompileRun(buffer.start())->BooleanValue());
4301 // Check that the properties are interceptor properties.
4305 CHECK(CompileRun(buffer.start())->BooleanValue());
4308 // Check the property names.
4310 CHECK(CompileRun(source)->BooleanValue());
4313 CHECK(CompileRun(source)->BooleanValue());
4316 CHECK(CompileRun(source)->BooleanValue());
4319 CHECK(CompileRun(source)->BooleanValue());
4322 CHECK(CompileRun(source)->BooleanValue());
4359 CHECK(CompileRun("o0_mirror instanceof debug.ObjectMirror")->BooleanValue());
4360 CHECK(CompileRun("o1_mirror instanceof debug.ObjectMirror")->BooleanValue());
4361 CHECK(CompileRun("o2_mirror instanceof debug.ObjectMirror")->BooleanValue());
4362 CHECK(CompileRun("o3_mirror instanceof debug.ObjectMirror")->BooleanValue());
4364 // Check that each object has one property.
4414 CHECK(CompileRun("o0_mirror.property('u').isUndefined()")->BooleanValue());
4417 CHECK(CompileRun("o0_mirror.protoObject() == o3_mirror")->BooleanValue());
4445 CHECK(CompileRun(
4450 CHECK(CompileRun("named_names[0] == 'x'")->BooleanValue());
4451 CHECK(CompileRun(
4453 CHECK(CompileRun(
4481 CHECK(CompileRun(
4485 CHECK(CompileRun("named_names[0] == 'x'")->BooleanValue());
4486 CHECK(CompileRun(
4489 // Check that the message is that passed to the Error constructor.
4490 CHECK(CompileRun(
4516 CHECK(CompileRun(
4523 CHECK(CompileRun("named_names[0] == 'a'")->BooleanValue());
4524 CHECK(CompileRun(
4551 CHECK(CompileRun(
4557 CHECK(CompileRun("named_names.sort(); named_names[0] == 'a' &&"
4559 CHECK(CompileRun(
4561 CHECK(CompileRun(
4604 CHECK(!invalid_);
5014 // Check that we are inside the while loop.
5016 CHECK(8 <= source_line && source_line <= 13);
5367 CHECK(v8::Debug::Call(frame_count)->IsNumber());
5377 CHECK(v8::Debug::Call(frame_source_line)->IsNumber());
5389 CHECK(v8::Debug::Call(debugger_call_with_data, data)->IsString());
5391 CHECK(v8::Debug::Call(debugger_call_with_data).IsEmpty());
5392 CHECK(v8::Debug::Call(debugger_call_with_data).IsEmpty());
5396 CHECK(catcher.HasCaught());
5397 CHECK(catcher.Exception()->IsString());
5405 CHECK(v8::Debug::Call(debugger_call_with_closure)->IsNumber());
5503 // Check debugger is unloaded before it is used.
5597 // Check debugger is unloaded before it is used.
5640 // Check debugger is unloaded before it is used.
5854 CHECK(ok);
5858 CHECK(ok);
5864 CHECK(ok);
5914 CHECK(server_ != NULL);
5916 CHECK(ok);
5920 CHECK(ok);
5925 CHECK(client_ != NULL);
5954 CHECK(client != NULL);
5956 CHECK(ok);
5991 // Check for empty body.
5992 CHECK(server->body() == NULL);
6127 // Check that the expected context is the one generating the debug event.
6129 CHECK(message.GetEventContext() == expected_context);
6130 CHECK(message.GetEventContext()->GetData()->StrictEquals(
6163 CHECK(context_1->GetData()->IsUndefined());
6164 CHECK(context_2->GetData()->IsUndefined());
6166 // Set and check different data values.
6171 CHECK(context_1->GetData()->StrictEquals(data_1));
6172 CHECK(context_2->GetData()->StrictEquals(data_2));
6270 CHECK(result->IsString());
6310 // Check that there was only one break event. Matching RegExp should not
6327 CHECK(context_1->GetData()->IsUndefined());
6329 // Set and check a data value.
6332 CHECK(context_1->GetData()->StrictEquals(data_1));
6368 // Check that the expected context is the one generating the debug event
6372 CHECK(message.GetEventContext() == expected_context);
6373 CHECK(message.GetEventContext()->GetData()->StrictEquals(
6487 CHECK(context.IsEmpty());
6802 // Check backtrace from ProcessDebugMessages.
6811 // Check backtrace from "void(0)" script.
6836 CHECK(result->IsTrue());
6884 CHECK(current == debugee_context);
6885 CHECK(current != debugger_context);
6887 CHECK(calling == debugee_context);
6888 CHECK(calling != debugger_context);
6903 CHECK(debugger_context == v8::Context::GetCurrent());
6912 CHECK(result->IsTrue());
6967 CHECK(details.GetEventContext() == expected_context);
6971 // Check that event details contain context where debug event occured.
7001 // Check that event details contain context where debug event occured.
7015 CHECK(was_debug_event_called);
7016 CHECK(!was_debug_break_called);
7024 CHECK(was_debug_event_called);
7025 CHECK(!was_debug_break_called);
7032 CHECK(!was_debug_event_called);
7033 CHECK(was_debug_break_called);
7042 CHECK(was_debug_event_called);
7043 CHECK(was_debug_break_called);
7068 CHECK(result->IsString());
7084 // check interrupt.
7098 // This tests lazy deoptimization bailout for the stack check, as the first
7100 // the initial stack check.
7111 CHECK(debug_event_break_deoptimize_done);
7129 CHECK(result->IsString());
7131 CHECK(function_name->Equals(v8::String::New("loop")));
7134 CHECK(result->IsString());
7136 CHECK(argument_name->Equals(v8::String::New("count")));
7144 CHECK(result->IsUndefined() || (result->Int32Value() == 1 - i));
7147 CHECK(result->IsString());
7149 CHECK(local_name->Equals(v8::String::New("local")));
7157 CHECK(result->IsUndefined() || (result->Int32Value() == 42));
7239 CHECK(!v8::V8::IsExecutionTerminating());