/external/v8/src/ |
D | factory.h | 17 Handle<Oddball> NewOddball(Handle<Map> map, 19 Handle<Object> to_number, 23 Handle<FixedArray> NewFixedArray( 28 Handle<FixedArray> NewFixedArrayWithHoles( 33 Handle<FixedArray> NewUninitializedFixedArray(int size); 38 Handle<FixedArrayBase> NewFixedDoubleArray( 43 Handle<FixedArrayBase> NewFixedDoubleArrayWithHoles( 47 Handle<ConstantPoolArray> NewConstantPoolArray( 50 Handle<ConstantPoolArray> NewExtendedConstantPoolArray( 54 Handle<OrderedHashSet> NewOrderedHashSet(); [all …]
|
D | factory.cc | 18 Handle<T> Factory::New(Handle<Map> map, AllocationSpace space) { in New() 27 Handle<T> Factory::New(Handle<Map> map, in New() 29 Handle<AllocationSite> allocation_site) { in New() 37 Handle<HeapObject> Factory::NewFillerObject(int size, in NewFillerObject() 47 Handle<Box> Factory::NewBox(Handle<Object> value) { in NewBox() 48 Handle<Box> result = Handle<Box>::cast(NewStruct(BOX_TYPE)); in NewBox() 54 Handle<Oddball> Factory::NewOddball(Handle<Map> map, in NewOddball() 56 Handle<Object> to_number, in NewOddball() 58 Handle<Oddball> oddball = New<Oddball>(map, OLD_POINTER_SPACE); in NewOddball() 64 Handle<FixedArray> Factory::NewFixedArray(int size, PretenureFlag pretenure) { in NewFixedArray() [all …]
|
D | liveedit.h | 48 void RecordFunctionInfo(Handle<SharedFunctionInfo> info, 50 void RecordRootFunctionInfo(Handle<Code> code); 82 Handle<Script> script, 83 Handle<String> source); 85 static void WrapSharedFunctionInfos(Handle<JSArray> array); 87 static void ReplaceFunctionCode(Handle<JSArray> new_compile_info_array, 88 Handle<JSArray> shared_info_array); 90 static void FunctionSourceUpdated(Handle<JSArray> shared_info_array); 93 static void SetFunctionScript(Handle<JSValue> function_wrapper, 94 Handle<Object> script_handle); [all …]
|
D | elements.h | 28 virtual void Validate(Handle<JSObject> obj) = 0; 36 Handle<Object> receiver, 37 Handle<JSObject> holder, 39 Handle<FixedArrayBase> backing_store) = 0; 42 Handle<Object> receiver, in HasElement() 43 Handle<JSObject> holder, in HasElement() 54 Handle<Object> receiver, 55 Handle<JSObject> holder, 57 Handle<FixedArrayBase> backing_store) = 0; 60 Handle<Object> receiver, in Get() [all …]
|
D | debug.h | 70 explicit BreakLocationIterator(Handle<DebugInfo> debug_info, 81 void SetBreakPoint(Handle<Object> break_point_object); 82 void ClearBreakPoint(Handle<Object> break_point_object); 123 Handle<DebugInfo> debug_info_; 157 void Add(Handle<Script> script); 160 Handle<FixedArray> GetScripts(); 188 Handle<DebugInfo> debug_info() { return debug_info_; } in debug_info() 192 Handle<DebugInfo> debug_info_; 207 Handle<JSObject> exec_state, 208 Handle<JSObject> event_data); [all …]
|
D | bootstrapper.cc | 46 Handle<String> Bootstrapper::NativesSourceLookup(int index) { in NativesSourceLookup() 57 Handle<String> source_code = isolate_->factory() in NativesSourceLookup() 62 Handle<Object> cached_source(heap->natives_source_cache()->get(index), in NativesSourceLookup() 64 return Handle<String>::cast(cached_source); in NativesSourceLookup() 157 v8::Handle<v8::ObjectTemplate> global_proxy_template, 165 Handle<Context> result() { return result_; } in result() 168 Handle<Context> native_context() { return native_context_; } in native_context() 173 Handle<JSFunction> CreateEmptyFunction(Isolate* isolate); 175 Handle<JSFunction> GetStrictPoisonFunction(); 177 Handle<JSFunction> GetGeneratorPoisonFunction(); [all …]
|
D | compilation-cache.h | 30 Handle<CompilationCacheTable> GetTable(int generation); 33 Handle<CompilationCacheTable> GetFirstTable() { in GetFirstTable() 36 void SetFirstTable(Handle<CompilationCacheTable> value) { in SetFirstTable() 53 void Remove(Handle<SharedFunctionInfo> function_info); 75 Handle<SharedFunctionInfo> Lookup(Handle<String> source, 76 Handle<Object> name, 80 Handle<Context> context); 81 void Put(Handle<String> source, 82 Handle<Context> context, 83 Handle<SharedFunctionInfo> function_info); [all …]
|
D | compilation-cache.cc | 45 Handle<CompilationCacheTable> CompilationSubCache::GetTable(int generation) { in GetTable() 47 Handle<CompilationCacheTable> result; in GetTable() 54 result = Handle<CompilationCacheTable>(table, isolate()); in GetTable() 91 void CompilationSubCache::Remove(Handle<SharedFunctionInfo> function_info) { in Remove() 96 Handle<CompilationCacheTable> table = GetTable(generation); in Remove() 114 Handle<SharedFunctionInfo> function_info, in HasOrigin() 115 Handle<Object> name, in HasOrigin() 119 Handle<Script> script = in HasOrigin() 120 Handle<Script>(Script::cast(function_info->script()), isolate()); in HasOrigin() 134 return String::Equals(Handle<String>::cast(name), in HasOrigin() [all …]
|
D | type-info.cc | 22 Handle<Code> code, Handle<TypeFeedbackVector> feedback_vector, in TypeFeedbackOracle() 23 Handle<Context> native_context, Zone* zone) in TypeFeedbackOracle() 40 Handle<Object> TypeFeedbackOracle::GetInfo(TypeFeedbackId ast_id) { in GetInfo() 46 return Handle<Object>(cell->value(), isolate()); in GetInfo() 48 return Handle<Object>(value, isolate()); in GetInfo() 51 return Handle<Object>::cast(isolate()->factory()->undefined_value()); in GetInfo() 55 Handle<Object> TypeFeedbackOracle::GetInfo(int slot) { in GetInfo() 60 return Handle<Object>(obj, isolate()); in GetInfo() 62 return Handle<Object>::cast(isolate()->factory()->undefined_value()); in GetInfo() 67 Handle<Object> maybe_code = GetInfo(id); in LoadIsUninitialized() [all …]
|
D | elements.cc | 126 static bool HasKey(Handle<FixedArray> array, Handle<Object> key_handle) { in HasKey() 250 static void CopyDoubleToObjectElements(Handle<FixedArrayBase> from_base, in CopyDoubleToObjectElements() 252 Handle<FixedArrayBase> to_base, in CopyDoubleToObjectElements() 280 Handle<FixedDoubleArray> from = Handle<FixedDoubleArray>::cast(from_base); in CopyDoubleToObjectElements() 281 Handle<FixedArray> to = Handle<FixedArray>::cast(to_base); in CopyDoubleToObjectElements() 288 Handle<Object> value = FixedDoubleArray::get(from, i + from_start); in CopyDoubleToObjectElements() 490 void CheckArrayAbuse(Handle<JSObject> obj, const char* op, uint32_t key, in CheckArrayAbuse() 561 static void ValidateContents(Handle<JSObject> holder, int length) { in ValidateContents() 564 static void ValidateImpl(Handle<JSObject> holder) { in ValidateImpl() 565 Handle<FixedArrayBase> fixed_array_base(holder->elements()); in ValidateImpl() [all …]
|
D | messages.cc | 20 Handle<Object> message_obj) { in DefaultMessageReport() 26 Handle<Object> data(loc->script()->name(), isolate); in DefaultMessageReport() 29 data_str = Handle<String>::cast(data)->ToCString(DISALLOW_NULLS); in DefaultMessageReport() 36 Handle<JSMessageObject> MessageHandler::MakeMessageObject( in MakeMessageObject() 40 Vector< Handle<Object> > args, in MakeMessageObject() 41 Handle<JSArray> stack_frames) { in MakeMessageObject() 43 Handle<String> type_handle = factory->InternalizeUtf8String(type); in MakeMessageObject() 44 Handle<FixedArray> arguments_elements = in MakeMessageObject() 49 Handle<JSArray> arguments_handle = in MakeMessageObject() 54 Handle<Object> script_handle = factory->undefined_value(); in MakeMessageObject() [all …]
|
D | execution.h | 28 Handle<Object> callable, 29 Handle<Object> receiver, 31 Handle<Object> argv[], 41 MUST_USE_RESULT static MaybeHandle<Object> New(Handle<JSFunction> func, 43 Handle<Object> argv[]); 51 static MaybeHandle<Object> TryCall(Handle<JSFunction> func, 52 Handle<Object> receiver, int argc, 53 Handle<Object> argv[], 58 Isolate* isolate, Handle<Object> obj); 62 Isolate* isolate, Handle<Object> obj); [all …]
|
D | lookup.h | 45 LookupIterator(Handle<Object> receiver, Handle<Name> name, 59 LookupIterator(Handle<Object> receiver, Handle<Name> name, 60 Handle<JSReceiver> holder, 76 Handle<Name> name() const { return name_; } in name() 86 Handle<Object> GetReceiver() const { return receiver_; } in GetReceiver() 87 Handle<JSObject> GetStoreTarget() const; 89 Handle<Map> transition_map() const { in transition_map() 94 Handle<T> GetHolder() const { in GetHolder() 96 return Handle<T>::cast(holder_); in GetHolder() 98 Handle<JSReceiver> GetRoot() const; [all …]
|
D | json-stringifier.h | 20 MUST_USE_RESULT MaybeHandle<Object> Stringify(Handle<Object> object); 24 Handle<String> object)); 64 Handle<Object> object, 65 Handle<Object> key); 67 Result SerializeGeneric(Handle<Object> object, 68 Handle<Object> key, 73 INLINE(static Handle<String> StringifyString_(Isolate* isolate, 75 Handle<String> result)); 78 INLINE(Result SerializeObject(Handle<Object> obj)) { in INLINE() 85 Handle<Object> object, in INLINE() [all …]
|
D | debug.cc | 31 : debug_context_(Handle<Context>()), in Debug() 32 event_listener_(Handle<Object>()), in Debug() 33 event_listener_data_(Handle<Object>()), in Debug() 52 static v8::Handle<v8::Context> GetDebugEventContext(Isolate* isolate) { in GetDebugEventContext() 53 Handle<Context> context = isolate->debug()->debugger_entry()->GetContext(); in GetDebugEventContext() 57 Handle<Context> native_context(context->native_context()); in GetDebugEventContext() 62 BreakLocationIterator::BreakLocationIterator(Handle<DebugInfo> debug_info, in BreakLocationIterator() 269 void BreakLocationIterator::SetBreakPoint(Handle<Object> break_point_object) { in SetBreakPoint() 281 void BreakLocationIterator::ClearBreakPoint(Handle<Object> break_point_object) { in ClearBreakPoint() 371 Handle<Code> target_code(Code::GetCodeFromTargetAddress(target)); in IsStepInLocation() [all …]
|
D | liveedit.cc | 25 void SetElementSloppy(Handle<JSObject> object, in SetElementSloppy() 27 Handle<Object> value) { in SetElementSloppy() 244 static bool CompareSubstrings(Handle<String> s1, int pos1, in CompareSubstrings() 245 Handle<String> s2, int pos2, int len) { in CompareSubstrings() 326 Handle<JSArray> GetResult() { in GetResult() 334 Handle<Object>(Smi::FromInt(char_pos1), isolate)); in WriteChunk() 337 Handle<Object>(Smi::FromInt(char_pos1 + char_len1), in WriteChunk() 341 Handle<Object>(Smi::FromInt(char_pos2 + char_len2), in WriteChunk() 347 Handle<JSArray> array_; 357 TokensCompareInput(Handle<String> s1, int offset1, int len1, in TokensCompareInput() [all …]
|
D | execution.cc | 39 Handle<JSFunction> function, in Invoke() 40 Handle<Object> receiver, in Invoke() 42 Handle<Object> args[]) { in Invoke() 63 Handle<Code> code = is_construct in Invoke() 71 receiver = handle(Handle<GlobalObject>::cast(receiver)->global_proxy()); in Invoke() 112 return Handle<Object>(value, isolate); in Invoke() 117 Handle<Object> callable, in Call() 118 Handle<Object> receiver, in Call() 120 Handle<Object> argv[], in Call() 126 Handle<JSFunction> func = Handle<JSFunction>::cast(callable); in Call() [all …]
|
/external/v8/src/ic/ |
D | handler-compiler.h | 20 static Handle<Code> Find(Handle<Name> name, Handle<Map> map, Code::Kind kind, 25 Handle<HeapType> type, Handle<JSObject> holder, in PropertyHandlerCompiler() 33 virtual Register FrontendHeader(Register object_reg, Handle<Name> name, in FrontendHeader() 39 virtual void FrontendFooter(Handle<Name> name, Label* miss) { UNREACHABLE(); } in FrontendFooter() 41 Register Frontend(Register object_reg, Handle<Name> name); 42 void NonexistentFrontendHeader(Handle<Name> name, Label* miss, 48 Handle<Map> receiver_map, Register receiver, 60 Handle<Name> name, Register r0, 67 Handle<JSGlobalObject> global, 68 Handle<Name> name, Register scratch, [all …]
|
D | ic-compiler.h | 24 static Handle<Code> ComputeLoad(Isolate* isolate, InlineCacheState ic_state, 26 static Handle<Code> ComputeStore(Isolate* isolate, InlineCacheState ic_state, 29 static Handle<Code> ComputeMonomorphic(Code::Kind kind, Handle<Name> name, 30 Handle<HeapType> type, 31 Handle<Code> handler, 33 static Handle<Code> ComputePolymorphic(Code::Kind kind, TypeHandleList* types, 36 Handle<Name> name, 40 static Handle<Code> ComputeKeyedLoadMonomorphic(Handle<Map> receiver_map); 42 static Handle<Code> ComputeKeyedStoreMonomorphic( 43 Handle<Map> receiver_map, StrictMode strict_mode, [all …]
|
D | ic.h | 70 void UpdateState(Handle<Object> receiver, Handle<Object> name); 72 bool IsNameCompatibleWithPrototypeFailure(Handle<Object> name); 73 void MarkPrototypeFailure(Handle<Object> name) { in MarkPrototypeFailure() 80 static void RegisterWeakMapDependency(Handle<Code> stub); 105 static inline Handle<Map> GetHandlerCacheHolder(HeapType* type, 109 static inline Handle<Map> GetICCacheHolder(HeapType* type, Isolate* isolate, 122 static Handle<Map> TypeToMap(HeapType* type, Isolate* isolate); 124 static typename T::TypeHandle MapToType(Handle<Map> map, 127 static Handle<HeapType> CurrentTypeOf(Handle<Object> object, 132 Handle<Code> target() const { return target_; } in target() [all …]
|
D | handler-compiler.cc | 16 Handle<Code> PropertyHandlerCompiler::Find(Handle<Name> name, in Find() 17 Handle<Map> stub_holder, in Find() 24 return Handle<Code>::null(); in Find() 28 Handle<Code> NamedLoadHandlerCompiler::ComputeLoadNonexistent( in ComputeLoadNonexistent() 29 Handle<Name> name, Handle<HeapType> type) { in ComputeLoadNonexistent() 31 Handle<Map> receiver_map = IC::TypeToMap(*type, isolate); in ComputeLoadNonexistent() 36 return Handle<Code>(); in ComputeLoadNonexistent() 39 Handle<Map> stub_holder_map = in ComputeLoadNonexistent() 47 Handle<Name> cache_name = in ComputeLoadNonexistent() 50 : Handle<Name>::cast(isolate->factory()->nonexistent_symbol()); in ComputeLoadNonexistent() [all …]
|
D | ic-compiler.cc | 16 Handle<Code> PropertyICCompiler::Find(Handle<Name> name, in Find() 17 Handle<Map> stub_holder, Code::Kind kind, in Find() 24 return Handle<Code>::null(); in Find() 36 Handle<Code> PropertyICCompiler::CompileMonomorphic(Handle<HeapType> type, in CompileMonomorphic() 37 Handle<Code> handler, in CompileMonomorphic() 38 Handle<Name> name, in CompileMonomorphic() 49 Handle<Code> PropertyICCompiler::ComputeMonomorphic( in ComputeMonomorphic() 50 Code::Kind kind, Handle<Name> name, Handle<HeapType> type, in ComputeMonomorphic() 51 Handle<Code> handler, ExtraICState extra_ic_state) { in ComputeMonomorphic() 59 Handle<Map> stub_holder = IC::GetICCacheHolder(*type, isolate, &flag); in ComputeMonomorphic() [all …]
|
D | ic.cc | 90 void IC::TraceIC(const char* type, Handle<Object> name) { in TraceIC() 99 void IC::TraceIC(const char* type, Handle<Object> name, State old_state, in TraceIC() 203 Handle<SharedFunctionInfo> shared(GetSharedFunctionInfo(), isolate()); in GetCode() 211 Handle<SharedFunctionInfo> shared(GetSharedFunctionInfo(), isolate()); in GetOriginalCode() 229 Handle<JSObject> holder = it->GetHolder<JSObject>(); in LookupForRead() 251 bool IC::TryRemoveInvalidPrototypeDependentStub(Handle<Object> receiver, in TryRemoveInvalidPrototypeDependentStub() 252 Handle<String> name) { in TryRemoveInvalidPrototypeDependentStub() 254 Handle<Map> receiver_map = TypeToMap(*receiver_type(), isolate()); in TryRemoveInvalidPrototypeDependentStub() 266 Handle<Map> old_map(first_map); in TryRemoveInvalidPrototypeDependentStub() 276 Handle<Map> ic_holder_map( in TryRemoveInvalidPrototypeDependentStub() [all …]
|
D | call-optimization.cc | 13 CallOptimization::CallOptimization(Handle<JSFunction> function) { in CallOptimization() 18 Handle<JSObject> CallOptimization::LookupHolderOfExpectedType( in LookupHolderOfExpectedType() 19 Handle<Map> object_map, HolderLookup* holder_lookup) const { in LookupHolderOfExpectedType() 23 return Handle<JSObject>::null(); in LookupHolderOfExpectedType() 28 return Handle<JSObject>::null(); in LookupHolderOfExpectedType() 32 Handle<JSObject> prototype(JSObject::cast(object_map->prototype())); in LookupHolderOfExpectedType() 41 return Handle<JSObject>::null(); in LookupHolderOfExpectedType() 45 bool CallOptimization::IsCompatibleReceiver(Handle<Object> receiver, in IsCompatibleReceiver() 46 Handle<JSObject> holder) const { in IsCompatibleReceiver() 49 Handle<Map> map(JSObject::cast(*receiver)->map()); in IsCompatibleReceiver() [all …]
|
/external/v8/test/cctest/compiler/ |
D | function-tester.h | 41 Handle<JSFunction> function; 43 Handle<JSFunction> Compile(Handle<JSFunction> function) { in Compile() 48 info.SetOptimizing(BailoutId::None(), Handle<Code>(function->code())); in Compile() 63 Handle<Code> code = pipeline.GenerateCode(); in Compile() 71 Handle<Code> unoptimized = Handle<Code>(function->code()); in Compile() 72 Handle<Code> code = Compiler::GetOptimizedCode(function, unoptimized, in Compile() 86 MaybeHandle<Object> Call(Handle<Object> a, Handle<Object> b) { in Call() 87 Handle<Object> args[] = {a, b}; in Call() 91 void CheckThrows(Handle<Object> a, Handle<Object> b) { in CheckThrows() 101 v8::Handle<v8::Message> CheckThrowsReturnMessage(Handle<Object> a, in CheckThrowsReturnMessage() [all …]
|