Home
last modified time | relevance | path

Searched refs:GetBytecodeArray (Results 1 – 25 of 25) sorted by relevance

/external/v8/src/
Druntime-profiler.cc137 int level = shared->GetBytecodeArray()->osr_loop_nesting_level(); in AttemptOnStackReplacement()
138 shared->GetBytecodeArray()->set_osr_loop_nesting_level( in AttemptOnStackReplacement()
187 if (shared->GetBytecodeArray()->length() <= allowance) { in MaybeOSR()
200 if (shared->GetBytecodeArray()->length() > kMaxBytecodeSizeForOpt) { in ShouldOptimize()
206 (shared->GetBytecodeArray()->length() / kBytecodeSizeAllowancePerTick); in ShouldOptimize()
209 } else if (!any_ic_changed_ && shared->GetBytecodeArray()->length() < in ShouldOptimize()
223 shared->GetBytecodeArray()->length(), kMaxBytecodeSizeForEarlyOpt); in ShouldOptimize()
Dframes.cc1650 AbstractCode* code = AbstractCode::cast(GetBytecodeArray()); in position()
1657 HandlerTable table(function()->shared()->GetBytecodeArray()); in LookupExceptionHandlerInTable()
1690 BytecodeArray* InterpretedFrame::GetBytecodeArray() const { in GetBytecodeArray() function in v8::internal::InterpretedFrame
1726 AbstractCode::cast(function()->shared()->GetBytecodeArray()); in Summarize()
1989 BytecodeArray* bytecodes = iframe->GetBytecodeArray(); in Print()
Disolate.cc716 reinterpret_cast<Address>(iframe->GetBytecodeArray()) - kHeapObjectTag + in GetAbstractPC()
1398 js_frame->GetBytecodeArray()->register_count()); in Throw()
1499 HandlerTable table(code->GetBytecodeArray()); in Throw()
1654 code = handle(AbstractCode::cast(interpreted_frame->GetBytecodeArray()), in Throw()
Dframes.h881 BytecodeArray* GetBytecodeArray() const;
Ddeoptimizer.cc667 translated_frame->raw_shared_info()->GetBytecodeArray()); in LookupCatchHandler()
968 : shared->GetBytecodeArray(); in DoComputeInterpretedFrame()
2305 return AbstractCode::cast(shared->GetBytecodeArray()) in ComputeSourcePositionFromBytecodeArray()
Dobjects-printer.cc1367 os << "\n - bytecode: " << shared()->GetBytecodeArray(); in JSFunctionPrint()
Dobjects-inl.h2347 return AbstractCode::cast(shared()->GetBytecodeArray()); in abstract_code()
Dobjects.cc14486 handle(abstract_code->GetBytecodeArray(), abstract_code->GetIsolate()), in SetStackFrameCache()
14507 DropStackFrameCacheCommon(GetBytecodeArray()); in DropStackFrameCache()
17723 if (info->IsInterpreted() && info->GetBytecodeArray()->IsOld()) { in Age()
18760 AbstractCode::cast(function()->shared()->GetBytecodeArray()); in source_position()
/external/v8/src/objects/
Dcode-inl.h34 return GetBytecodeArray()->length(); in CAST_ACCESSOR()
42 return GetBytecodeArray()->length(); in InstructionSize()
50 return GetBytecodeArray()->SourcePositionTable(); in source_position_table()
59 maybe_table = GetBytecodeArray()->source_position_table(); in stack_frame_cache()
72 return GetBytecodeArray()->SizeIncludingMetadata(); in SizeIncludingMetadata()
79 return GetBytecodeArray()->BytecodeArraySize(); in ExecutableSize()
87 return GetBytecodeArray()->GetFirstBytecodeAddress(); in raw_instruction_start()
95 return GetBytecodeArray()->GetFirstBytecodeAddress(); in InstructionStart()
103 return GetBytecodeArray()->GetFirstBytecodeAddress() + in raw_instruction_end()
104 GetBytecodeArray()->length(); in raw_instruction_end()
[all …]
Dshared-function-info-inl.h137 return AbstractCode::cast(GetBytecodeArray()); in abstract_code()
453 BytecodeArray* SharedFunctionInfo::GetBytecodeArray() const { in GetBytecodeArray() function
Dshared-function-info.h304 inline BytecodeArray* GetBytecodeArray() const;
Dcode.h570 inline BytecodeArray* GetBytecodeArray();
/external/v8/src/compiler/
Dosr.cc19 info->shared_info()->GetBytecodeArray()->parameter_count()), in OsrHelper()
22 info->shared_info()->GetBytecodeArray()->register_count()) + in OsrHelper()
Djs-inlining-heuristic.cc65 if (shared->GetBytecodeArray()->length() > FLAG_max_inlined_bytecode_size) { in CanInlineFunction()
75 if (shared->HasBytecodeArray() && shared->GetBytecodeArray()->length() <= in IsSmallInlineFunction()
135 candidate.total_size += shared->GetBytecodeArray()->length(); in Reduce()
613 cumulative_count_ += shared->GetBytecodeArray()->length(); in InlineCandidate()
682 cumulative_count_ += function->shared()->GetBytecodeArray()->length(); in InlineCandidate()
723 PrintF(" - size:%d, name: %s\n", shared->GetBytecodeArray()->length(), in PrintCandidates()
Djs-heap-broker.cc435 BytecodeArrayData* const GetBytecodeArray; // Can be nullptr. member in v8::internal::compiler::SharedFunctionInfoData
446 GetBytecodeArray( in SharedFunctionInfoData()
448 ? GET_OR_CREATE(GetBytecodeArray)->AsBytecodeArray() in SharedFunctionInfoData()
455 DCHECK_EQ(HasBytecodeArray, GetBytecodeArray != nullptr); in SharedFunctionInfoData()
1055 BIMODAL_ACCESSOR(SharedFunctionInfo, BytecodeArray, GetBytecodeArray) in BIMODAL_ACCESSOR()
Djs-heap-broker.h400 BytecodeArrayRef GetBytecodeArray() const;
Djs-create-lowering.cc430 shared.GetBytecodeArray().register_count(); in ReduceJSCreateGeneratorObject()
Dpipeline.cc881 if (compilation_info()->shared_info()->GetBytecodeArray()->length() > in PrepareJobImpl()
Dbytecode-graph-builder.cc527 handle(shared_info->GetBytecodeArray(), jsgraph->isolate())), in BytecodeGraphBuilder()
/external/v8/src/runtime/
Druntime-generator.cc25 function->shared()->GetBytecodeArray()->register_count(); in RUNTIME_FUNCTION()
104 HandlerTable handler_table(shared->GetBytecodeArray()); in RUNTIME_FUNCTION()
Druntime-compiler.cc208 Handle<BytecodeArray> bytecode(iframe->GetBytecodeArray(), iframe->isolate()); in DetermineEntryAndDisarmOSRForInterpreter()
Druntime-debug.cc59 BytecodeArray* bytecode_array = shared->GetBytecodeArray(); in RUNTIME_FUNCTION_RETURN_PAIR()
/external/v8/src/debug/
Dliveedit.cc1039 isolate, handle(sfi->GetBytecodeArray(), isolate), diffs); in UpdatePositions()
1143 FixedArray* constants = sfi->GetBytecodeArray()->constant_pool(); in PatchScript()
1183 FixedArray* constants = new_sfi->GetBytecodeArray()->constant_pool(); in PatchScript()
1235 FixedArray* constants = sfi->GetBytecodeArray()->constant_pool(); in PatchScript()
Ddebug.cc926 HandlerTable table(code->GetBytecodeArray()); in PrepareStepOnThrow()
1202 handle(shared->GetBytecodeArray(), isolate_); in PrepareFunctionForDebugExecution()
2208 BytecodeArray* bytecode_array = shared->GetBytecodeArray(); in PerformSideEffectCheckAtBytecode()
Ddebug-evaluate.cc878 Handle<BytecodeArray> bytecode_array(info->GetBytecodeArray(), isolate); in FunctionGetSideEffectState()