Searched defs:isolate (Results 76 - 100 of 504) sorted by relevance

1234567891011>>

/external/v8/src/parsing/
H A Dparse-info.cc69 if (!scope_info->IsTheHole(isolate()) &&
106 Isolate* isolate = shared->GetIsolate(); local
107 ParseInfo* p = new ParseInfo(isolate->allocator());
108 p->isolate_ = isolate;
112 p->set_hash_seed(isolate->heap()->HashSeed());
119 p->set_stack_limit(isolate->stack_guard()->real_climit());
120 p->set_unicode_cache(isolate->unicode_cache());
129 // b) it's being run for the 2nd-Nth time in an isolate,
137 if (!scope_info->IsTheHole(isolate) &&
/external/v8/src/profiler/
H A Dprofile-generator-inl.h48 inline Isolate* ProfileNode::isolate() const { return tree_->isolate(); } function in class:v8::internal::ProfileNode
/external/v8/src/regexp/
H A Dregexp-stack.cc7 #include "src/isolate.h"
12 RegExpStackScope::RegExpStackScope(Isolate* isolate) argument
13 : regexp_stack_(isolate->regexp_stack()) {
/external/v8/src/runtime/
H A Druntime-forin.cc10 #include "src/isolate-inl.h"
24 Isolate* const isolate = receiver->GetIsolate(); local
25 JSObject::MakePrototypesFast(receiver, kStartAtReceiver, isolate);
26 FastKeyAccumulator accumulator(isolate, receiver,
34 isolate, keys, accumulator.GetKeys(GetKeysConversion::kKeepNumbers),
39 return handle(receiver->map(), isolate);
44 MaybeHandle<Object> HasEnumerableProperty(Isolate* isolate, argument
50 LookupIterator::PropertyOrElement(isolate, receiver, key, &success);
51 if (!success) return isolate->factory()->undefined_value();
65 ASSIGN_RETURN_ON_EXCEPTION(isolate, prototyp
[all...]
/external/v8/src/snapshot/
H A Dserializer-common.cc15 ExternalReferenceEncoder::ExternalReferenceEncoder(Isolate* isolate) { argument
16 map_ = isolate->external_reference_map();
18 table_ = ExternalReferenceTable::instance(isolate);
22 ExternalReferenceTable* table = ExternalReferenceTable::instance(isolate);
31 isolate->set_external_reference_map(map_);
48 const char* ExternalReferenceEncoder::NameOfAddress(Isolate* isolate, argument
52 return ExternalReferenceTable::instance(isolate)->name(
70 void SerializerDeserializer::Iterate(Isolate* isolate, ObjectVisitor* visitor) { argument
71 List<Object*>* cache = isolate->partial_snapshot_cache();
78 if (cache->at(i)->IsUndefined(isolate)) brea
[all...]
/external/libmojo/mojo/edk/js/
H A Ddrain_data.cc22 DrainData::DrainData(v8::Isolate* isolate, mojo::Handle handle) argument
23 : isolate_(isolate), handle_(DataPipeConsumerHandle(handle.value())) {
H A Dhandle.h28 static gin::Handle<HandleWrapper> Create(v8::Isolate* isolate, argument
30 return gin::CreateHandle(isolate, new HandleWrapper(handle));
61 static v8::Handle<v8::Value> ToV8(v8::Isolate* isolate,
63 static bool FromV8(v8::Isolate* isolate, v8::Handle<v8::Value> val,
69 static v8::Handle<v8::Value> ToV8(v8::Isolate* isolate,
71 static bool FromV8(v8::Isolate* isolate,
81 v8::Isolate* isolate,
86 static bool FromV8(v8::Isolate* isolate, argument
90 *out = mojo::edk::js::HandleWrapper::Create(isolate, MOJO_HANDLE_INVALID);
95 if (!Converter<mojo::edk::js::HandleWrapper*>::FromV8(isolate, va
80 ToV8( v8::Isolate* isolate, const gin::Handle<mojo::edk::js::HandleWrapper>& val) argument
[all...]
/external/v8/src/
H A Dallocation-site-scopes.h19 explicit AllocationSiteContext(Isolate* isolate) { argument
20 isolate_ = isolate;
28 Isolate* isolate() { return isolate_; } function in class:v8::internal::AllocationSiteContext
37 current_ = Handle<AllocationSite>::New(*top_, isolate());
51 explicit AllocationSiteCreationContext(Isolate* isolate) argument
52 : AllocationSiteContext(isolate) { }
63 AllocationSiteUsageContext(Isolate* isolate, Handle<AllocationSite> site, argument
65 : AllocationSiteContext(isolate),
78 return Handle<AllocationSite>(*current(), isolate());
H A Dcancelable-task.cc8 #include "src/isolate.h"
114 CancelableTask::CancelableTask(Isolate* isolate) argument
115 : CancelableTask(isolate, isolate->cancelable_task_manager()) {}
117 CancelableTask::CancelableTask(Isolate* isolate, CancelableTaskManager* manager) argument
118 : Cancelable(manager), isolate_(isolate) {}
120 CancelableIdleTask::CancelableIdleTask(Isolate* isolate) argument
121 : CancelableIdleTask(isolate, isolate->cancelable_task_manager()) {}
123 CancelableIdleTask::CancelableIdleTask(Isolate* isolate, argument
[all...]
H A Dcompilation-dependencies.h18 CompilationDependencies(Isolate* isolate, Zone* zone) argument
19 : isolate_(isolate),
H A Dfast-accessor-assembler.h52 explicit FastAccessorAssembler(Isolate* isolate);
99 Isolate* isolate() const { return isolate_; } function in class:v8::internal::FastAccessorAssembler
H A Dhandles-inl.h11 #include "src/isolate.h"
16 HandleBase::HandleBase(Object* object, Isolate* isolate) argument
17 : location_(HandleScope::GetHandle(isolate, object)) {}
22 Handle<T> Handle<T>::New(T* object, Isolate* isolate) { argument
24 reinterpret_cast<T**>(HandleScope::CreateHandle(isolate, object)));
28 HandleScope::HandleScope(Isolate* isolate) { argument
29 HandleScopeData* data = isolate->handle_scope_data();
30 isolate_ = isolate;
60 void HandleScope::CloseScope(Isolate* isolate,
63 HandleScopeData* current = isolate
97 CreateHandle(Isolate* isolate, Object* value) argument
113 GetHandle(Isolate* isolate, Object* value) argument
122 SealHandleScope(Isolate* isolate) argument
[all...]
/external/v8/src/builtins/
H A Dbuiltins-utils.h12 #include "src/isolate.h"
41 Handle<Object> atOrUndefined(Isolate* isolate, int index) { argument
43 return isolate->factory()->undefined_value();
85 Isolate* isolate); \
88 int args_length, Object** args_object, Isolate* isolate) { \
90 RuntimeCallTimerScope timer(isolate, &RuntimeCallStats::Builtin_##name); \
93 return Builtin_Impl_##name(args, isolate); \
97 int args_length, Object** args_object, Isolate* isolate) { \
98 DCHECK(isolate->context() == nullptr || isolate
[all...]
/external/v8/src/compiler/
H A Dsimplified-operator-reducer.cc256 return isolate()->factory();
261 Isolate* SimplifiedOperatorReducer::isolate() const { function in class:v8::internal::compiler::SimplifiedOperatorReducer
262 return jsgraph()->isolate();
H A Dtyper.h28 Typer(Isolate* isolate, Flags flags, Graph* graph);
43 Isolate* isolate() const { return isolate_; } function in class:v8::internal::compiler::Typer
/external/v8/src/debug/arm/
H A Ddebug-arm.cc38 void DebugCodegen::ClearDebugBreakSlot(Isolate* isolate, Address pc) { argument
39 CodePatcher patcher(isolate, pc, Assembler::kDebugBreakSlotInstructions);
44 void DebugCodegen::PatchDebugBreakSlot(Isolate* isolate, Address pc, argument
47 CodePatcher patcher(isolate, pc, Assembler::kDebugBreakSlotInstructions);
84 __ Push(masm->isolate()->factory()->the_hole_value());
89 Runtime::FunctionForId(Runtime::kDebugBreak), masm->isolate())));
91 CEntryStub ceb(masm->isolate(), 1);
/external/v8/src/debug/arm64/
H A Ddebug-arm64.cc39 void DebugCodegen::ClearDebugBreakSlot(Isolate* isolate, Address pc) { argument
40 PatchingAssembler patcher(isolate, reinterpret_cast<Instruction*>(pc),
46 void DebugCodegen::PatchDebugBreakSlot(Isolate* isolate, Address pc, argument
49 PatchingAssembler patcher(isolate, reinterpret_cast<Instruction*>(pc),
97 __ Push(masm->isolate()->factory()->the_hole_value());
101 masm->isolate()));
103 CEntryStub stub(masm->isolate(), 1);
/external/v8/src/extensions/
H A Dexternalize-string-extension.cc9 #include "src/isolate.h"
47 v8::Isolate* isolate, v8::Local<v8::String> str) {
49 return v8::FunctionTemplate::New(isolate,
53 return v8::FunctionTemplate::New(isolate,
101 i::Isolate* isolate = reinterpret_cast<i::Isolate*>(args.GetIsolate()); local
102 isolate->heap()->RegisterExternalString(*string);
112 i::Isolate* isolate = reinterpret_cast<i::Isolate*>(args.GetIsolate()); local
113 isolate->heap()->RegisterExternalString(*string);
46 GetNativeFunctionTemplate( v8::Isolate* isolate, v8::Local<v8::String> str) argument
/external/v8/src/heap/
H A Dcode-stats.cc13 Isolate* isolate) {
22 size += isolate->code_and_metadata_size();
23 isolate->set_code_and_metadata_size(size);
25 size += isolate->bytecode_and_metadata_size();
26 isolate->set_bytecode_and_metadata_size(size);
31 isolate->code_kind_statistics()[abstract_code->kind()] +=
33 CodeStatistics::CollectCodeCommentStatistics(object, isolate);
37 void CodeStatistics::ResetCodeAndMetadataStatistics(Isolate* isolate) { argument
38 isolate->set_code_and_metadata_size(0);
39 isolate
12 RecordCodeAndMetadataStatistics(HeapObject* object, Isolate* isolate) argument
49 CollectCodeStatistics(PagedSpace* space, Isolate* isolate) argument
61 CollectCodeStatistics(LargeObjectSpace* space, Isolate* isolate) argument
70 ReportCodeStatistics(Isolate* isolate) argument
109 ResetCodeStatistics(Isolate* isolate) argument
129 EnterComment(Isolate* isolate, const char* comment, int delta) argument
155 CollectCommentStatistics(Isolate* isolate, RelocIterator* it) argument
191 CollectCodeCommentStatistics(HeapObject* obj, Isolate* isolate) argument
[all...]
H A Dscavenge-job.cc10 #include "src/isolate.h"
20 Heap* heap = isolate()->heap();
103 v8::Isolate* isolate = reinterpret_cast<v8::Isolate*>(heap->isolate()); local
104 if (V8::GetCurrentPlatform()->IdleTasksEnabled(isolate)) {
106 auto task = new IdleTask(heap->isolate(), this);
107 V8::GetCurrentPlatform()->CallIdleOnForegroundThread(isolate, task);
/external/v8/src/ic/
H A Daccess-compiler.h37 PropertyAccessCompiler(Isolate* isolate, Code::Kind kind, argument
39 : registers_(GetCallingConvention(isolate, kind)),
42 isolate_(isolate),
43 masm_(isolate, NULL, 256, CodeObjectRequired::kYes) {
51 Isolate* isolate() const { return isolate_; } function in class:v8::internal::BASE_EMBEDDED
52 Heap* heap() const { return isolate()->heap(); }
53 Factory* factory() const { return isolate()->factory(); }
70 static Register* GetCallingConvention(Isolate* isolate, Code::Kind kind);
H A Dhandler-configuration-inl.h16 Handle<Object> LoadHandler::LoadField(Isolate* isolate, argument
22 return handle(Smi::FromInt(config), isolate);
25 Handle<Object> LoadHandler::LoadConstant(Isolate* isolate, int descriptor) { argument
30 return handle(Smi::FromInt(config), isolate);
33 Handle<Object> LoadHandler::LoadApiGetter(Isolate* isolate, int descriptor) { argument
38 return handle(Smi::FromInt(config), isolate);
42 Isolate* isolate, Handle<Object> smi_handler) {
49 return handle(Smi::FromInt(config), isolate);
53 Isolate* isolate, Handle<Object> smi_handler) {
60 return handle(Smi::FromInt(config), isolate);
41 EnableAccessCheckOnReceiver( Isolate* isolate, Handle<Object> smi_handler) argument
52 EnableNegativeLookupOnReceiver( Isolate* isolate, Handle<Object> smi_handler) argument
63 LoadNonExistent( Isolate* isolate, bool do_negative_lookup_on_receiver) argument
71 LoadElement(Isolate* isolate, ElementsKind elements_kind, bool convert_hole_to_undefined, bool is_js_array) argument
82 StoreField(Isolate* isolate, Kind kind, int descriptor, FieldIndex field_index, Representation representation, bool extend_storage) argument
120 StoreField(Isolate* isolate, int descriptor, FieldIndex field_index, PropertyConstness constness, Representation representation) argument
130 TransitionToField(Isolate* isolate, int descriptor, FieldIndex field_index, Representation representation, bool extend_storage) argument
138 TransitionToConstant(Isolate* isolate, int descriptor) argument
[all...]
H A Dic-inl.h68 Assembler::set_target_address_at(heap->isolate(), address, constant_pool,
94 bool receiver_is_holder, Isolate* isolate,
101 if (Map::GetConstructorFunction(receiver_map, isolate->native_context())
114 Handle<Map> IC::GetICCacheHolder(Handle<Map> map, Isolate* isolate, argument
117 if (Map::GetConstructorFunction(map, isolate->native_context())
128 return AddressIsDeoptimizedCode(isolate(), address());
132 bool IC::AddressIsDeoptimizedCode(Isolate* isolate, Address address) { argument
134 isolate->inner_pointer_to_code_cache()->GetCacheEntry(address)->code;
93 GetHandlerCacheHolder(Handle<Map> receiver_map, bool receiver_is_holder, Isolate* isolate, CacheHolderFlag* flag) argument
/external/v8/src/inspector/
H A Dinjected-script-native.cc9 InjectedScriptNative::InjectedScriptNative(v8::Isolate* isolate) argument
10 : m_lastBoundObjectId(1), m_isolate(isolate) {}
29 v8::Isolate* isolate, v8::Local<v8::Object> injectedScriptObject) {
30 v8::HandleScope handleScope(isolate);
31 v8::Local<v8::Context> context = isolate->GetCurrentContext();
33 isolate, v8::String::NewFromUtf8(isolate, privateKeyName,
28 fromInjectedScriptHost( v8::Isolate* isolate, v8::Local<v8::Object> injectedScriptObject) argument
/external/v8/src/interpreter/
H A Dhandler-table-builder.cc9 #include "src/isolate.h"
18 Handle<HandlerTable> HandlerTableBuilder::ToHandlerTable(Isolate* isolate) { argument
21 Handle<HandlerTable>::cast(isolate->factory()->NewFixedArray(

Completed in 347 milliseconds

1234567891011>>