/external/v8/src/runtime/ |
runtime-debug.cc | 13 #include "src/isolate-inl.h" 20 SealHandleScope shs(isolate); 23 JavaScriptFrameIterator it(isolate); 24 isolate->debug()->Break(args, it.frame()); 25 isolate->debug()->SetAfterBreakTarget(it.frame()); 26 return isolate->heap()->undefined_value(); 31 SealHandleScope shs(isolate); 33 if (isolate->debug()->break_points_active()) { 34 isolate->debug()->HandleDebugBreak(); 36 return isolate->heap()->undefined_value() 520 isolate); local [all...] |
runtime-collections.cc | 16 HandleScope scope(isolate); 19 return *isolate->factory()->NewNumberFromUint(string->hash_field()); 24 SealHandleScope shs(isolate); 26 return isolate->heap()->the_hole_value(); 31 SealHandleScope shs(isolate); 40 HandleScope scope(isolate); 43 Handle<Smi> hash = Object::GetOrCreateHash(isolate, object); 49 HandleScope scope(isolate); 52 JSSet::Initialize(holder, isolate); 58 HandleScope scope(isolate); [all...] |
runtime-liveedit.cc | 12 #include "src/isolate-inl.h" 22 HandleScope scope(isolate); 23 CHECK(isolate->debug()->live_edit_enabled()); 31 Heap* heap = isolate->heap(); 43 Handle<FixedArray> result = isolate->factory()->NewFixedArray(found.length()); 46 SharedInfoWrapper info_wrapper = SharedInfoWrapper::Create(isolate); 52 return *isolate->factory()->NewJSArrayWithElements(result); 64 HandleScope scope(isolate); 65 CHECK(isolate->debug()->live_edit_enabled()); 75 isolate, result, LiveEdit::GatherCompileInfo(script_handle, source)) [all...] |
runtime-numbers.cc | 11 #include "src/isolate-inl.h" 17 HandleScope scope(isolate); 28 return *isolate->factory()->LookupSingleCharacterStringFromCode( 36 return isolate->heap()->nan_string(); 40 return isolate->heap()->minus_infinity_string(); 42 return isolate->heap()->infinity_string(); 45 Handle<String> result = isolate->factory()->NewStringFromAsciiChecked(str); 52 HandleScope scope(isolate); 62 Handle<String> result = isolate->factory()->NewStringFromAsciiChecked(str); 69 HandleScope scope(isolate); [all...] |
runtime-compiler.cc | 12 #include "src/isolate-inl.h" 21 HandleScope scope(isolate); 31 StackLimitCheck check(isolate); 32 if (check.JsHasOverflowed(1 * KB)) return isolate->StackOverflow(); 38 ASSIGN_RETURN_FAILURE_ON_EXCEPTION(isolate, code, 49 Object* CompileOptimized(Isolate* isolate, Handle<JSFunction> function, 51 StackLimitCheck check(isolate); 52 if (check.JsHasOverflowed(1 * KB)) return isolate->StackOverflow(); 61 if (isolate->has_pending_exception()) { // Possible stack overflow [all...] |
runtime-object.cc | 10 #include "src/isolate-inl.h" 19 MaybeHandle<Object> Runtime::GetObjectProperty(Isolate* isolate, 25 isolate, 32 LookupIterator::PropertyOrElement(isolate, object, key, &success); 39 static MaybeHandle<Object> KeyedGetObjectProperty(Isolate* isolate, 69 if (!value->IsTheHole()) return Handle<Object>(value, isolate); 80 return Handle<Object>(value, isolate); 109 Factory* factory = isolate->factory() [all...] |
runtime-function.cc | 11 #include "src/isolate-inl.h" 19 SealHandleScope shs(isolate); 28 HandleScope scope(isolate); 36 return isolate->heap()->undefined_value(); 41 SealHandleScope shs(isolate); 47 *isolate->builtins()->ConstructedNonConstructable()); 49 return isolate->heap()->undefined_value(); 54 HandleScope scope(isolate); 58 if (function->IsJSBoundFunction()) return isolate->heap()->undefined_value(); 60 isolate); [all...] |
runtime-i18n.cc | 14 #include "src/isolate-inl.h" 44 HandleScope scope(isolate); 45 Factory* factory = isolate->factory(); 79 HandleScope scope(isolate); 80 Factory* factory = isolate->factory(); 100 Handle<JSObject> locales = factory->NewJSObject(isolate->object_function()); 114 isolate, JSObject::SetOwnPropertyIgnoreAttributes( 124 HandleScope scope(isolate); 125 Factory* factory = isolate->factory(); 145 HandleScope scope(isolate); [all...] |
runtime-proxy.cc | 10 #include "src/isolate-inl.h" 19 HandleScope scope(isolate); 24 Handle<String> trap_name = isolate->factory()->apply_string(); 26 Handle<Object> handler(proxy->handler(), isolate); 30 isolate, NewTypeError(MessageTemplate::kProxyRevoked, trap_name)); 35 Handle<JSReceiver> target(proxy->target(), isolate); 39 isolate, trap, 51 isolate, result, Execution::Call(isolate, target, receiver, 56 Handle<JSArray> arg_array = isolate->factory()->NewJSArray [all...] |
/external/v8/src/ |
allocation-site-scopes.h | 21 explicit AllocationSiteContext(Isolate* isolate) { 22 isolate_ = isolate; 30 Isolate* isolate() { return isolate_; } function in class:v8::internal::AllocationSiteContext 39 current_ = Handle<AllocationSite>::New(*top_, isolate()); 43 Isolate* isolate_; 53 explicit AllocationSiteCreationContext(Isolate* isolate) 54 : AllocationSiteContext(isolate) { } [all...] |
property-descriptor.cc | 9 #include "src/isolate-inl.h" 40 bool ToPropertyDescriptorFastPath(Isolate* isolate, Handle<Object> obj, 46 if (map->prototype() != *isolate->initial_object_prototype()) return false; 49 if (isolate->bootstrapper()->IsActive()) return false; 51 isolate->native_context()->object_function_prototype_map()) { 69 value = handle(descs->GetConstant(i), isolate); 76 Heap* heap = isolate->heap(); 104 static void CreateDataProperty(Isolate* isolate, Handle<JSObject> object [all...] |
accessors.cc | 13 #include "src/isolate-inl.h" 24 Isolate* isolate, 29 Factory* factory = isolate->factory(); 36 Handle<Object> get = v8::FromCData(isolate, getter); 37 Handle<Object> set = v8::FromCData(isolate, setter); 45 Isolate* isolate, 47 Factory* factory = isolate->factory(); 75 Isolate* isolate = name->GetIsolate() local 99 Isolate* isolate = name->GetIsolate(); local 151 i::Isolate* isolate = reinterpret_cast<i::Isolate*>(info.GetIsolate()); local 162 i::Isolate* isolate = reinterpret_cast<i::Isolate*>(info.GetIsolate()); local 193 i::Isolate* isolate = reinterpret_cast<i::Isolate*>(info.GetIsolate()); local 206 i::Isolate* isolate = reinterpret_cast<i::Isolate*>(info.GetIsolate()); local 242 i::Isolate* isolate = reinterpret_cast<i::Isolate*>(info.GetIsolate()); local 288 i::Isolate* isolate = reinterpret_cast<i::Isolate*>(info.GetIsolate()); local 326 i::Isolate* isolate = reinterpret_cast<i::Isolate*>(info.GetIsolate()); local 363 i::Isolate* isolate = reinterpret_cast<i::Isolate*>(info.GetIsolate()); local 398 i::Isolate* isolate = reinterpret_cast<i::Isolate*>(info.GetIsolate()); local 433 i::Isolate* isolate = reinterpret_cast<i::Isolate*>(info.GetIsolate()); local 471 i::Isolate* isolate = reinterpret_cast<i::Isolate*>(info.GetIsolate()); local 509 i::Isolate* isolate = reinterpret_cast<i::Isolate*>(info.GetIsolate()); local 547 i::Isolate* isolate = reinterpret_cast<i::Isolate*>(info.GetIsolate()); local 592 i::Isolate* isolate = reinterpret_cast<i::Isolate*>(info.GetIsolate()); local 627 i::Isolate* isolate = reinterpret_cast<i::Isolate*>(info.GetIsolate()); local 662 i::Isolate* isolate = reinterpret_cast<i::Isolate*>(info.GetIsolate()); local 698 i::Isolate* isolate = reinterpret_cast<i::Isolate*>(info.GetIsolate()); local 735 i::Isolate* isolate = reinterpret_cast<i::Isolate*>(info.GetIsolate()); local 782 i::Isolate* isolate = reinterpret_cast<i::Isolate*>(info.GetIsolate()); local 828 i::Isolate* isolate = reinterpret_cast<i::Isolate*>(info.GetIsolate()); local 907 Isolate* isolate = function->GetIsolate(); local 915 i::Isolate* isolate = reinterpret_cast<i::Isolate*>(info.GetIsolate()); local 928 i::Isolate* isolate = reinterpret_cast<i::Isolate*>(info.GetIsolate()); local 957 i::Isolate* isolate = reinterpret_cast<i::Isolate*>(info.GetIsolate()); local 975 Handle<Object> result(Smi::FromInt(length), isolate); local 1014 i::Isolate* isolate = reinterpret_cast<i::Isolate*>(info.GetIsolate()); local 1044 i::Isolate* isolate = reinterpret_cast<i::Isolate*>(info.GetIsolate()); local 1076 i::Isolate* isolate = reinterpret_cast<i::Isolate*>(info.GetIsolate()); local 1107 Isolate* isolate = inlined_function->GetIsolate(); local 1212 i::Isolate* isolate = reinterpret_cast<i::Isolate*>(info.GetIsolate()); local 1349 i::Isolate* isolate = reinterpret_cast<i::Isolate*>(info.GetIsolate()); local 1395 Isolate* isolate = instance->GetIsolate(); local 1427 Isolate* isolate = instance->GetIsolate(); local 1454 Isolate* isolate = name->GetIsolate(); local [all...] |
address-map.cc | 7 #include "src/isolate.h" 13 RootIndexMap::RootIndexMap(Isolate* isolate) { 14 map_ = isolate->root_index_map(); 19 Object* root = isolate->heap()->root(root_index); 23 isolate->heap()->RootCanBeTreatedAsConstant(root_index)) { 34 isolate->set_root_index_map(map_);
|
log-inl.h | 9 #include "src/isolate.h" 32 void Logger::CallEventLogger(Isolate* isolate, const char* name, StartEnd se, 34 if (isolate->event_logger() != NULL) { 35 if (isolate->event_logger() == DefaultEventLoggerSentinel) { 36 LOG(isolate, TimerEvent(se, name)); 38 isolate->event_logger()(name, se);
|
api-natives.cc | 8 #include "src/isolate-inl.h" 18 MaybeHandle<JSObject> InstantiateObject(Isolate* isolate, 22 MaybeHandle<JSFunction> InstantiateFunction(Isolate* isolate, 27 MaybeHandle<Object> Instantiate(Isolate* isolate, Handle<Object> data, 30 return InstantiateFunction(isolate, 33 return InstantiateObject(isolate, Handle<ObjectTemplateInfo>::cast(data)); 40 MaybeHandle<Object> DefineAccessorProperty(Isolate* isolate 357 Isolate* isolate = data->GetIsolate(); local 365 Isolate* isolate = data->GetIsolate(); local [all...] |
i18n.h | 28 static Handle<ObjectTemplateInfo> GetTemplate(Isolate* isolate); 31 static Handle<ObjectTemplateInfo> GetTemplate2(Isolate* isolate); 43 Isolate* isolate, 49 static icu::SimpleDateFormat* UnpackDateFormat(Isolate* isolate, 67 Isolate* isolate, [all...] |
builtins.cc | 18 #include "src/isolate-inl.h" 51 Handle<Object> atOrUndefined(Isolate* isolate, int index) { 53 return isolate->factory()->undefined_value(); 139 name##ArgumentsType args, Isolate* isolate); \ 141 int args_length, Object** args_object, Isolate* isolate) { \ 143 return Builtin_Impl_##name(args, isolate); \ 146 name##ArgumentsType args, Isolate* isolate 876 Isolate* isolate = object->GetIsolate(); local 1693 Isolate* const isolate = context->GetIsolate(); local 2117 Isolate* const isolate = str->GetIsolate(); local 2192 Isolate* const isolate = date->GetIsolate(); local 3560 auto isolate = function->GetIsolate(); local [all...] |
execution.cc | 9 #include "src/isolate-inl.h" 55 MUST_USE_RESULT MaybeHandle<Object> Invoke(Isolate* isolate, bool is_construct, 63 VMState<JS> state(isolate); 64 CHECK(AllowJavascriptExecution::IsAllowed(isolate)); 65 if (!ThrowOnJavascriptExecution::IsAllowed(isolate)) { 66 isolate->ThrowIllegalOperation(); 67 isolate->ReportPendingMessages(); 79 ? isolate->factory()->js_construct_entry_code() 80 : isolate->factory()->js_entry_code() 440 Isolate* isolate = fun->GetIsolate(); local [all...] |
/external/v8/test/unittests/libplatform/ |
default-platform-unittest.cc | 40 Isolate* isolate = reinterpret_cast<Isolate*>(&dummy); local 43 EXPECT_FALSE(platform.PumpMessageLoop(isolate)); 46 platform.CallOnForegroundThread(isolate, task); 49 EXPECT_TRUE(platform.PumpMessageLoop(isolate)); 50 EXPECT_FALSE(platform.PumpMessageLoop(isolate)); 58 Isolate* isolate = reinterpret_cast<Isolate*>(&dummy) local 88 Isolate* isolate = reinterpret_cast<Isolate*>(&dummy); local 119 Isolate* isolate = reinterpret_cast<Isolate*>(&dummy); local [all...] |
/external/v8/test/cctest/ |
test-func-name-inference.cc | 42 using ::v8::internal::Isolate; 55 Isolate* isolate = CcTest::i_isolate(); local 77 func_pos = SearchString(isolate, script_content.ToOneByteVector(), 85 isolate->debug()->FindSharedFunctionInfoInScript(i_script, func_pos)); 96 static v8::Local<v8::Script> Compile(v8::Isolate* isolate, const char* src) { 98 isolate->GetCurrentContext(), 99 v8::String::NewFromUtf8(isolate, src, v8::NewStringType::kNormal) 107 v8::HandleScope scope(CcTest::isolate()); [all...] |
test-weakmaps.cc | 38 static Isolate* GetIsolateFrom(LocalContext* context) { 39 return reinterpret_cast<Isolate*>((*context)->GetIsolate()); 43 static Handle<JSWeakMap> AllocateJSWeakMap(Isolate* isolate) { 44 Handle<JSWeakMap> weakmap = isolate->factory()->NewJSWeakMap(); 47 HandleScope scope(isolate); 48 Handle<ObjectHashTable> table = ObjectHashTable::New(isolate, 1); 69 Isolate* isolate = GetIsolateFrom(&context); local 70 Factory* factory = isolate->factory() 134 Isolate* isolate = GetIsolateFrom(&context); local 149 Handle<Smi> smi(Smi::FromInt(i), isolate); local 178 Isolate* isolate = GetIsolateFrom(&context); local 219 Isolate* isolate = GetIsolateFrom(&context); local 239 Handle<Smi> smi(Smi::FromInt(i), isolate); local 256 Isolate* isolate = CcTest::i_isolate(); local [all...] |
test-microtask-delivery.cc | 38 v8::Isolate::CreateParams create_params; 40 isolate_ = v8::Isolate::New(create_params); 49 v8::Isolate* GetIsolate() const { return isolate_; } 52 v8::Isolate* isolate_; 59 HarmonyIsolate isolate; local 60 v8::HandleScope scope(isolate.GetIsolate()); 61 LocalContext context(isolate.GetIsolate()); 105 HarmonyIsolate isolate; local 106 v8::HandleScope scope(isolate.GetIsolate()); 107 LocalContext context1(isolate.GetIsolate()) [all...] |
test-api-fast-accessor-builder.cc | 69 v8::Isolate* isolate = env->GetIsolate(); local 70 v8::HandleScope scope(isolate); 72 v8::Local<v8::FunctionTemplate> foo = v8::FunctionTemplate::New(isolate); 77 v8::FunctionTemplate::New(isolate, NativePropertyAccessor)); 80 auto fab = v8::experimental::FastAccessorBuilder::New(isolate); 84 isolate, NativePropertyAccessor, fab)); 101 void AddInternalFieldAccessor(v8::Isolate* isolate, 104 auto builder = v8::experimental::FastAccessorBuilder::New(isolate); 116 v8::Isolate* isolate = env->GetIsolate(); local 146 v8::Isolate* isolate = env->GetIsolate(); local 195 v8::Isolate* isolate = env->GetIsolate(); local 230 v8::Isolate* isolate = env->GetIsolate(); local [all...] |
/external/v8/src/heap/ |
incremental-marking-job.cc | 11 #include "src/isolate.h" 45 v8::Isolate* isolate = reinterpret_cast<v8::Isolate*>(heap->isolate()); local 46 if (V8::GetCurrentPlatform()->IdleTasksEnabled(isolate)) { 48 auto task = new IdleTask(heap->isolate(), this); 49 V8::GetCurrentPlatform()->CallIdleOnForegroundThread(isolate, task); 57 v8::Isolate* isolate = reinterpret_cast<v8::Isolate*>(heap->isolate()) local [all...] |
/external/v8/test/cctest/compiler/ |
test-code-stub-assembler.cc | 6 #include "src/isolate.h" 16 CodeStubAssemblerTester(Isolate* isolate, 18 : CodeStubAssembler(isolate, isolate->runtime_zone(), descriptor, 20 scope_(isolate) {} 29 Isolate* isolate(CcTest::InitIsolateOnce()); 30 VoidDescriptor descriptor(isolate); 31 CodeStubAssemblerTester m(isolate, descriptor) [all...] |