/external/v8/src/ |
code-factory.h | 37 static Handle<Code> RuntimeCEntry(Isolate* isolate, int result_size = 1); 40 static Callable LoadIC(Isolate* isolate); 41 static Callable LoadICInOptimizedCode(Isolate* isolate); 42 static Callable LoadICProtoArray(Isolate* isolate, bool throw_if_nonexistent); 43 static Callable LoadGlobalIC(Isolate* isolate, TypeofMode typeof_mode) [all...] |
api-arguments.cc | 16 Isolate* isolate = this->isolate(); local 17 if (isolate->needs_side_effect_check() && 18 !isolate->debug()->PerformSideEffectCheckForCallback(FUNCTION_ADDR(f))) { 21 RuntimeCallTimerScope timer(isolate, &RuntimeCallStats::FunctionCallback); 22 VMState<EXTERNAL> state(isolate); 23 ExternalCallbackScope call_scope(isolate, FUNCTION_ADDR(f)); 26 return GetReturnValue<Object>(isolate); 31 Isolate* isolate = this->isolate() local [all...] |
code-factory.cc | 20 return Callable(stub.GetCode(), Descriptor(stub.isolate())); 26 Handle<Code> CodeFactory::RuntimeCEntry(Isolate* isolate, int result_size) { 27 CEntryStub stub(isolate, result_size); 32 Callable CodeFactory::LoadIC(Isolate* isolate) { 33 return Callable(isolate->builtins()->LoadICTrampoline(), 34 LoadDescriptor(isolate)); 38 Callable CodeFactory::LoadICProtoArray(Isolate* isolate, [all...] |
api-arguments-inl.h | 13 #define SIDE_EFFECT_CHECK(ISOLATE, F, RETURN_TYPE) \ 15 if (ISOLATE->needs_side_effect_check() && \ 16 !PerformSideEffectCheck(ISOLATE, FUNCTION_ADDR(F))) { \ 29 Isolate* isolate = this->isolate(); \ 30 SIDE_EFFECT_CHECK(isolate, f, InternalReturn); \ 31 RuntimeCallTimerScope timer(isolate, &RuntimeCallStats::Function); \ 32 VMState<EXTERNAL> state(isolate); \ 33 ExternalCallbackScope call_scope(isolate, FUNCTION_ADDR(f)); 74 Isolate* isolate = this->isolate(); local 90 Isolate* isolate = this->isolate(); local 106 Isolate* isolate = this->isolate(); local 122 Isolate* isolate = this->isolate(); local 137 Isolate* isolate = this->isolate(); local [all...] |
external-reference-table.cc | 25 Object* Builtin_##Name(int argc, Object** args, Isolate* isolate); 29 ExternalReferenceTable* ExternalReferenceTable::instance(Isolate* isolate) { 31 isolate->external_reference_table(); 33 external_reference_table = new ExternalReferenceTable(isolate); 34 isolate->set_external_reference_table(external_reference_table); 39 ExternalReferenceTable::ExternalReferenceTable(Isolate* isolate) { 42 AddReferences(isolate); [all...] |
uri.h | 17 static MaybeHandle<String> DecodeUri(Isolate* isolate, Handle<String> uri) { 18 return Decode(isolate, uri, true); 22 static MaybeHandle<String> DecodeUriComponent(Isolate* isolate, 24 return Decode(isolate, component, false); 28 static MaybeHandle<String> EncodeUri(Isolate* isolate, Handle<String> uri) { 29 return Encode(isolate, uri, true); 33 static MaybeHandle<String> EncodeUriComponent(Isolate* isolate [all...] |
/external/v8/src/builtins/ |
builtins-json.cc | 18 HandleScope scope(isolate); 19 Handle<Object> source = args.atOrUndefined(isolate, 1); 20 Handle<Object> reviver = args.atOrUndefined(isolate, 2); 22 ASSIGN_RETURN_FAILURE_ON_EXCEPTION(isolate, string, 23 Object::ToString(isolate, source)); 26 isolate, string->IsSeqOneByteString() 27 ? JsonParser<true>::Parse(isolate, string, reviver) 28 : JsonParser<false>::Parse(isolate, string, reviver)); 33 HandleScope scope(isolate); 34 JsonStringifier stringifier(isolate); [all...] |
builtins-callsite.cc | 19 recv, isolate->factory()->call_site_frame_array_symbol()) \ 22 isolate, \ 24 isolate->factory()->NewStringFromAsciiChecked(method))); \ 29 Object* PositiveNumberOrNull(int value, Isolate* isolate) { 30 if (value >= 0) return *isolate->factory()->NewNumberFromInt(value); 31 return isolate->heap()->null_value(); 34 Handle<FrameArray> GetFrameArray(Isolate* isolate, Handle<JSObject> object) { 36 object, isolate->factory()->call_site_frame_array_symbol()) [all...] |
builtins-proxy.cc | 16 HandleScope scope(isolate); 18 isolate, 20 isolate->factory()->NewStringFromAsciiChecked("Proxy"))); 25 HandleScope scope(isolate); 26 DCHECK(isolate->proxy_function()->IsConstructor()); 27 Handle<Object> target = args.atOrUndefined(isolate, 1); 28 Handle<Object> handler = args.atOrUndefined(isolate, 2); 29 RETURN_RESULT_OR_FAILURE(isolate, JSProxy::New(isolate, target, handler));
|
builtins-error.cc | 19 HandleScope scope(isolate); 33 isolate, ErrorUtils::Construct(isolate, args.target(), 35 args.atOrUndefined(isolate, 1), mode, 41 HandleScope scope(isolate); 42 Handle<Object> object_obj = args.atOrUndefined(isolate, 1); 45 isolate, NewTypeError(MessageTemplate::kInvalidArgument, object_obj)); 48 Handle<Object> caller = args.atOrUndefined(isolate, 2); 53 RETURN_FAILURE_ON_EXCEPTION(isolate, 54 isolate->CaptureAndSetDetailedStackTrace(object)) [all...] |
builtins-reflect.cc | 22 HandleScope scope(isolate); 30 isolate, NewTypeError(MessageTemplate::kCalledOnNonObject, 31 isolate->factory()->NewStringFromAsciiChecked( 36 ASSIGN_RETURN_FAILURE_ON_EXCEPTION(isolate, name, 37 Object::ToName(isolate, key)); 40 if (!PropertyDescriptor::ToPropertyDescriptor(isolate, attributes, &desc)) { 41 return isolate->heap()->exception(); 45 JSReceiver::DefineOwnProperty(isolate, Handle<JSReceiver>::cast(target), 47 MAYBE_RETURN(result, isolate->heap()->exception()); 48 return *isolate->factory()->ToBoolean(result.FromJust()) [all...] |
builtins-arraybuffer.cc | 19 HandleScope scope(isolate); 24 isolate, NewTypeError(MessageTemplate::kConstructorNotFunction, 25 handle(target->shared()->name(), isolate))); 30 HandleScope scope(isolate); 33 Handle<Object> length = args.atOrUndefined(isolate, 1); 37 ASSIGN_RETURN_FAILURE_ON_EXCEPTION(isolate, number_length, 38 Object::ToInteger(isolate, length)); 41 isolate, NewRangeError(MessageTemplate::kInvalidArrayBufferLength)); 44 ASSIGN_RETURN_FAILURE_ON_EXCEPTION(isolate, result, 49 isolate, NewRangeError(MessageTemplate::kInvalidArrayBufferLength)) [all...] |
builtins-global.cc | 19 HandleScope scope(isolate); 22 isolate, encoded_uri, 23 Object::ToString(isolate, args.atOrUndefined(isolate, 1))); 25 RETURN_RESULT_OR_FAILURE(isolate, Uri::DecodeUri(isolate, encoded_uri)); 30 HandleScope scope(isolate); 33 isolate, encoded_uri_component, 34 Object::ToString(isolate, args.atOrUndefined(isolate, 1))) [all...] |
/external/v8/src/heap/ |
code-stats.h | 7 #include "src/isolate.h" 16 static void CollectCodeStatistics(PagedSpace* space, Isolate* isolate); 19 static void CollectCodeStatistics(LargeObjectSpace* space, Isolate* isolate); 22 static void ResetCodeAndMetadataStatistics(Isolate* isolate); 26 static void ReportCodeStatistics(Isolate* isolate); 31 Isolate* isolate) [all...] |
/external/v8/src/runtime/ |
runtime-error.cc | 17 HandleScope scope(isolate); 20 RETURN_RESULT_OR_FAILURE(isolate, ErrorUtils::ToString(isolate, recv));
|
runtime-date.cc | 11 #include "src/isolate-inl.h" 18 SealHandleScope shs(isolate); 21 return isolate->heap()->ToBoolean(obj->IsJSDate()); 26 HandleScope scope(isolate); 28 THROW_NEW_ERROR_RETURN_FAILURE(isolate, 34 HandleScope scope(isolate); 36 return *isolate->factory()->NewNumber(JSDate::CurrentTimeValue(isolate));
|
runtime-operators.cc | 6 #include "src/isolate-inl.h" 13 HandleScope scope(isolate); 17 RETURN_RESULT_OR_FAILURE(isolate, Object::Multiply(isolate, lhs, rhs)); 22 HandleScope scope(isolate); 26 RETURN_RESULT_OR_FAILURE(isolate, Object::Divide(isolate, lhs, rhs)); 31 HandleScope scope(isolate); 35 RETURN_RESULT_OR_FAILURE(isolate, Object::Modulus(isolate, lhs, rhs)) [all...] |
runtime-module.cc | 15 HandleScope scope(isolate); 18 return isolate->heap()->undefined_value(); 22 HandleScope scope(isolate); 25 Handle<Module> module(isolate->context()->module()); 30 HandleScope scope(isolate); 33 Handle<Module> module(isolate->context()->module()); 38 HandleScope scope(isolate); 42 Handle<Module> module(isolate->context()->module()); 44 return isolate->heap()->undefined_value();
|
runtime-symbol.cc | 8 #include "src/isolate-inl.h" 16 HandleScope scope(isolate); 19 CHECK(name->IsString() || name->IsUndefined(isolate)); 20 Handle<Symbol> symbol = isolate->factory()->NewSymbol(); 27 HandleScope scope(isolate); 30 CHECK(name->IsString() || name->IsUndefined(isolate)); 31 Handle<Symbol> symbol = isolate->factory()->NewPrivateSymbol(); 38 SealHandleScope shs(isolate); 46 HandleScope scope(isolate); 49 IncrementalStringBuilder builder(isolate); [all...] |
runtime-wasm.cc | 24 WasmInstanceObject* GetWasmInstanceOnStackTop(Isolate* isolate) { 26 const Address entry = Isolate::c_entry_fp(isolate->thread_local_top()); 29 Code* code = isolate->inner_pointer_to_code_cache()->GetCacheEntry(pc)->code; 35 Context* GetWasmContextOnStackTop(Isolate* isolate) { 36 return GetWasmInstanceOnStackTop(isolate) 43 HandleScope scope(isolate); 46 Handle<WasmInstanceObject> instance(GetWasmInstanceOnStackTop(isolate), 47 isolate); local 57 isolate); local [all...] |
runtime-promise.cc | 17 void PromiseRejectEvent(Isolate* isolate, Handle<JSPromise> promise, 20 isolate->RunPromiseHook(PromiseHookType::kResolve, promise, 21 isolate->factory()->undefined_value()); 23 if (isolate->debug()->is_active() && debug_event) { 24 isolate->debug()->OnPromiseReject(rejected_promise, value); 29 isolate->ReportPromiseReject(Handle<JSObject>::cast(promise), value, 38 HandleScope scope(isolate); 43 if (isolate->debug()->is_active()) { 47 rejected_promise = isolate->GetPromiseOnStackOnThrow() [all...] |
runtime-internal.cc | 16 #include "src/isolate-inl.h" 26 SealHandleScope shs(isolate); 28 CHECK(isolate->bootstrapper()->IsActive()); 29 return isolate->heap()->undefined_value(); 34 HandleScope scope(isolate); 37 CHECK(isolate->bootstrapper()->IsActive()); 40 Bootstrapper::ExportFromRuntime(isolate, container); 47 HandleScope scope(isolate); 51 CHECK(isolate->bootstrapper()->IsActive()); 52 Handle<Context> native_context = isolate->native_context() [all...] |
/external/v8/src/ia32/ |
simulator-ia32.h | 15 #define CALL_GENERATED_CODE(isolate, entry, p0, p1, p2, p3, p4) \ 20 const byte*, int*, int, Address, int, Isolate*); 24 #define CALL_GENERATED_REGEXP_CODE(isolate, entry, p0, p1, p2, p3, p4, p5, p6, \ 34 static inline uintptr_t JsLimitFromCLimit(Isolate* isolate, 36 USE(isolate); 40 static inline uintptr_t RegisterCTryCatch(v8::internal::Isolate* isolate, 42 USE(isolate); 46 static inline void UnregisterCTryCatch(v8::internal::Isolate* isolate) [all...] |
/external/v8/src/x87/ |
simulator-x87.h | 15 #define CALL_GENERATED_CODE(isolate, entry, p0, p1, p2, p3, p4) \ 20 const byte*, int*, int, Address, int, Isolate*); 24 #define CALL_GENERATED_REGEXP_CODE(isolate, entry, p0, p1, p2, p3, p4, p5, p6, \ 34 static inline uintptr_t JsLimitFromCLimit(Isolate* isolate, 36 USE(isolate); 40 static inline uintptr_t RegisterCTryCatch(Isolate* isolate, 42 USE(isolate); 46 static inline void UnregisterCTryCatch(Isolate* isolate) { USE(isolate); [all...] |
/external/v8/src/parsing/ |
parsing.cc | 25 // Ok to use Isolate here; this function is only called in the main thread. 27 Isolate* isolate = info->isolate(); local 30 result = parser.ParseProgram(isolate, info); 33 parser.ReportErrors(isolate, info->script()); 37 parser.UpdateStatistics(isolate, info->script()); 39 info->ast_value_factory()->Internalize(isolate); 51 // Ok to use Isolate here; this function is only called in the main thread. 53 Isolate* isolate = info->isolate() local [all...] |