Home
last modified time | relevance | path

Searched refs:RUNTIME_ASSERT (Results 1 – 7 of 7) sorted by relevance

/external/v8/src/runtime/
Druntime-utils.h16 #define RUNTIME_ASSERT(value) \ macro
26 #define RUNTIME_ASSERT(value) \
39 RUNTIME_ASSERT(args[index]->Is##Type()); \
43 RUNTIME_ASSERT(args[index]->Is##Type()); \
47 RUNTIME_ASSERT(args[index]->IsNumber()); \
54 RUNTIME_ASSERT(args[index]->IsBoolean()); \
61 RUNTIME_ASSERT(args[index]->IsSmi()); \
68 RUNTIME_ASSERT(args[index]->IsNumber()); \
76 RUNTIME_ASSERT(args[index]->IsNumber()); \
79 RUNTIME_ASSERT(TryNumberToSize(isolate, *name##_object, &name));
[all …]
Druntime-liveedit.cc27 RUNTIME_ASSERT(script_value->value()->IsScript()); in RUNTIME_FUNCTION()
70 RUNTIME_ASSERT(script->value()->IsScript()); in RUNTIME_FUNCTION()
89 RUNTIME_ASSERT(original_script_value->value()->IsScript()); in RUNTIME_FUNCTION()
109 RUNTIME_ASSERT(SharedInfoWrapper::IsInstance(shared_info)); in RUNTIME_FUNCTION()
123 RUNTIME_ASSERT(SharedInfoWrapper::IsInstance(shared_info)); in RUNTIME_FUNCTION()
141 RUNTIME_ASSERT(JSValue::cast(*script_object)->value()->IsScript()); in RUNTIME_FUNCTION()
145 RUNTIME_ASSERT(function_wrapper->value()->IsSharedFunctionInfo()); in RUNTIME_FUNCTION()
166 RUNTIME_ASSERT(parent_wrapper->value()->IsSharedFunctionInfo()); in RUNTIME_FUNCTION()
167 RUNTIME_ASSERT(orig_wrapper->value()->IsSharedFunctionInfo()); in RUNTIME_FUNCTION()
168 RUNTIME_ASSERT(subst_wrapper->value()->IsSharedFunctionInfo()); in RUNTIME_FUNCTION()
[all …]
Druntime-debug.cc79 RUNTIME_ASSERT(args[0]->IsJSFunction() || args[0]->IsUndefined(isolate) || in RUNTIME_FUNCTION()
437 RUNTIME_ASSERT(isolate->debug()->CheckExecutionState(break_id)); in RUNTIME_FUNCTION()
446 RUNTIME_ASSERT(isolate->debug()->CheckExecutionState(break_id)); in RUNTIME_FUNCTION()
501 RUNTIME_ASSERT(isolate->debug()->CheckExecutionState(break_id)); in RUNTIME_FUNCTION()
540 RUNTIME_ASSERT(function->shared()->IsSubjectToDebugging()); in RUNTIME_FUNCTION()
714 RUNTIME_ASSERT(isolate->debug()->CheckExecutionState(break_id)); in RUNTIME_FUNCTION()
747 RUNTIME_ASSERT(isolate->debug()->CheckExecutionState(break_id)); in RUNTIME_FUNCTION()
785 RUNTIME_ASSERT(isolate->debug()->CheckExecutionState(break_id)); in RUNTIME_FUNCTION()
895 RUNTIME_ASSERT(isolate->debug()->CheckExecutionState(break_id)); in RUNTIME_FUNCTION()
955 RUNTIME_ASSERT(isolate->debug()->is_active()); in RUNTIME_FUNCTION()
[all …]
Druntime-test.cc105 RUNTIME_ASSERT(args.length() == 1 || args.length() == 2); in RUNTIME_FUNCTION()
118 RUNTIME_ASSERT(function->shared()->allows_lazy_compilation() || in RUNTIME_FUNCTION()
142 RUNTIME_ASSERT(args.length() == 0 || args.length() == 1); in RUNTIME_FUNCTION()
163 RUNTIME_ASSERT(function->shared()->allows_lazy_compilation() || in RUNTIME_FUNCTION()
199 RUNTIME_ASSERT(args.length() == 1 || args.length() == 2); in RUNTIME_FUNCTION()
236 RUNTIME_ASSERT(FLAG_block_concurrent_recompilation); in RUNTIME_FUNCTION()
237 RUNTIME_ASSERT(isolate->concurrent_recompilation_enabled()); in RUNTIME_FUNCTION()
Druntime-i18n.cc176 RUNTIME_ASSERT(length < 100); in RUNTIME_FUNCTION()
606 RUNTIME_ASSERT(form_id >= 0 && in RUNTIME_FUNCTION()
624 RUNTIME_ASSERT(normalizer != nullptr); in RUNTIME_FUNCTION()
Druntime-strings.cc301 RUNTIME_ASSERT(end >= start); in RUNTIME_FUNCTION()
302 RUNTIME_ASSERT(start >= 0); in RUNTIME_FUNCTION()
303 RUNTIME_ASSERT(end <= string->length()); in RUNTIME_FUNCTION()
Druntime-object.cc271 RUNTIME_ASSERT(properties <= 100000); in RUNTIME_FUNCTION()