Home
last modified time | relevance | path

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

12

/external/v8/src/interpreter/
Dbytecode-array-accessor.cc18 Handle<BytecodeArray> bytecode_array, int initial_offset) in BytecodeArrayAccessor() argument
19 : bytecode_array_(bytecode_array), in BytecodeArrayAccessor()
46 uint8_t current_byte = bytecode_array()->get(bytecode_offset_); in UpdateOperandScale()
60 return bytecode_offset_ >= 0 && bytecode_offset_ < bytecode_array()->length(); in OffsetInBounds()
66 bytecode_array()->get(bytecode_offset_ + current_prefix_offset()); in current_bytecode()
85 bytecode_array()->GetFirstBytecodeAddress() + bytecode_offset_ + in GetUnsignedOperand()
101 bytecode_array()->GetFirstBytecodeAddress() + bytecode_offset_ + in GetSignedOperand()
151 bytecode_array()->GetFirstBytecodeAddress() + bytecode_offset_ + in GetRegisterOperand()
201 return bytecode_array()->constant_pool()->get(index); in GetConstantAtIndex()
253 bytecode_array()->GetFirstBytecodeAddress() + bytecode_offset_); in PrintTo()
[all …]
Dbytecode-array-iterator.cc14 Handle<BytecodeArray> bytecode_array) in BytecodeArrayIterator() argument
15 : BytecodeArrayAccessor(bytecode_array, 0) {} in BytecodeArrayIterator()
22 return current_offset() >= bytecode_array()->length(); in done()
Dbytecode-array-random-iterator.cc14 Handle<BytecodeArray> bytecode_array, Zone* zone) in BytecodeArrayRandomIterator() argument
15 : BytecodeArrayAccessor(bytecode_array, 0), offsets_(zone) { in BytecodeArrayRandomIterator()
18 while (current_offset() < bytecode_array->length()) { in BytecodeArrayRandomIterator()
Dbytecode-array-accessor.h68 BytecodeArrayAccessor(Handle<BytecodeArray> bytecode_array,
80 const Handle<BytecodeArray>& bytecode_array() const { in bytecode_array() function
Dbytecode-array-writer.cc50 Handle<BytecodeArray> bytecode_array = isolate->factory()->NewBytecodeArray( in ToBytecodeArray() local
53 bytecode_array->set_handler_table(*handler_table); in ToBytecodeArray()
54 bytecode_array->set_source_position_table(*source_position_table); in ToBytecodeArray()
56 bytecode_array->GetFirstBytecodeAddress(), in ToBytecodeArray()
58 return bytecode_array; in ToBytecodeArray()
Dbytecode-array-iterator.h17 explicit BytecodeArrayIterator(Handle<BytecodeArray> bytecode_array);
Dbytecode-array-random-iterator.h19 explicit BytecodeArrayRandomIterator(Handle<BytecodeArray> bytecode_array,
Dbytecode-register.cc65 Register Register::bytecode_array() { in bytecode_array() function in v8::internal::interpreter::Register
Dbytecode-register.h44 static Register bytecode_array();
/external/v8/src/runtime/
Druntime-interpreter.cc104 bytecode_iterator.bytecode_array()->parameter_count()) in PrintRegisters()
125 CONVERT_ARG_HANDLE_CHECKED(BytecodeArray, bytecode_array, 0); in RUNTIME_FUNCTION()
130 interpreter::BytecodeArrayIterator bytecode_iterator(bytecode_array); in RUNTIME_FUNCTION()
137 bytecode_array->GetFirstBytecodeAddress()); in RUNTIME_FUNCTION()
142 bytecode_array->parameter_count()); in RUNTIME_FUNCTION()
159 CONVERT_ARG_HANDLE_CHECKED(BytecodeArray, bytecode_array, 0); in RUNTIME_FUNCTION()
164 interpreter::BytecodeArrayIterator bytecode_iterator(bytecode_array); in RUNTIME_FUNCTION()
Druntime-debug.cc59 BytecodeArray* bytecode_array = shared->GetBytecodeArray(); in RUNTIME_FUNCTION_RETURN_PAIR() local
61 Bytecode bytecode = Bytecodes::FromByte(bytecode_array->get(bytecode_offset)); in RUNTIME_FUNCTION_RETURN_PAIR()
74 interpreted_frame->PatchBytecodeArray(bytecode_array); in RUNTIME_FUNCTION_RETURN_PAIR()
/external/v8/src/compiler/
Dbytecode-analysis.cc80 BytecodeAnalysis::BytecodeAnalysis(Handle<BytecodeArray> bytecode_array, in BytecodeAnalysis() argument
82 : bytecode_array_(bytecode_array), in BytecodeAnalysis()
91 liveness_map_(bytecode_array->length(), zone) {} in BytecodeAnalysis()
208 const Handle<BytecodeArray>& bytecode_array = accessor.bytecode_array(); in UpdateOutLiveness() local
239 HandlerTable table(*bytecode_array); in UpdateOutLiveness()
319 interpreter::BytecodeArrayRandomIterator iterator(bytecode_array(), zone()); in Analyze()
426 current_offset, bytecode_array()->register_count(), zone()); in Analyze()
619 interpreter::BytecodeArrayIterator iterator(bytecode_array()); in PrintLivenessTo()
650 interpreter::BytecodeArrayRandomIterator iterator(bytecode_array(), zone()); in ResumeJumpTargetsAreValid()
754 interpreter::BytecodeArrayAccessor assessor(bytecode_array(), in ResumeJumpTargetLeavesResolveSuspendIds()
[all …]
Dbytecode-analysis.h97 BytecodeAnalysis(Handle<BytecodeArray> bytecode_array, Zone* zone,
153 Handle<BytecodeArray> bytecode_array() const { return bytecode_array_; } in bytecode_array() function
Dbytecode-graph-builder.cc532 bytecode_array()->parameter_count(), in BytecodeGraphBuilder()
533 bytecode_array()->register_count(), shared_info)), in BytecodeGraphBuilder()
583 int actual_parameter_count = bytecode_array()->parameter_count() + 4; in CreateGraph()
586 Environment env(this, bytecode_array()->register_count(), in CreateGraph()
587 bytecode_array()->parameter_count(), in CreateGraph()
588 bytecode_array()->incoming_new_target_or_generator_register(), in CreateGraph()
876 BytecodeAnalysis bytecode_analysis(bytecode_array(), local_zone(), in VisitBytecodes()
881 interpreter::BytecodeArrayIterator iterator(bytecode_array()); in VisitBytecodes()
884 handle(bytecode_array()->SourcePositionTable(), isolate())); in VisitBytecodes()
2821 bytecode_array()->parameter_count() - 1; in VisitSuspendGenerator()
[all …]
/external/v8/src/
Dunoptimized-compilation-info.h80 Handle<BytecodeArray> bytecode_array() const { return bytecode_array_; } in bytecode_array() function
81 void SetBytecodeArray(Handle<BytecodeArray> bytecode_array) { in SetBytecodeArray() argument
82 bytecode_array_ = bytecode_array; in SetBytecodeArray()
Dhandler-table.cc19 HandlerTable::HandlerTable(BytecodeArray* bytecode_array) in HandlerTable() argument
20 : HandlerTable(bytecode_array->handler_table()) {} in HandlerTable()
Dhandler-table.h51 explicit HandlerTable(BytecodeArray* bytecode_array);
Dcompiler.cc155 code_size = compilation_info()->bytecode_array()->SizeIncludingMetadata(); in RecordCompilationStats()
175 Handle<AbstractCode>::cast(compilation_info()->bytecode_array()); in RecordFunctionCompilation()
303 void InstallBytecodeArray(Handle<BytecodeArray> bytecode_array, in InstallBytecodeArray() argument
307 shared_info->set_bytecode_array(*bytecode_array); in InstallBytecodeArray()
322 interpreter_data->set_bytecode_array(*bytecode_array); in InstallBytecodeArray()
360 InstallBytecodeArray(compilation_info->bytecode_array(), shared_info, in InstallUnoptimizedCode()
/external/v8/src/profiler/
Dtick-sample.cc258 i::Object* bytecode_array = i::Memory<i::Object*>( in GetStackSample() local
265 if (HAS_HEAP_OBJECT_TAG(bytecode_array) && HAS_SMI_TAG(bytecode_offset)) { in GetStackSample()
267 reinterpret_cast<i::Address>(bytecode_array) + in GetStackSample()
/external/v8/src/debug/
Ddebug-evaluate.h45 static void ApplySideEffectChecks(Handle<BytecodeArray> bytecode_array);
Ddebug.cc249 BytecodeArray* bytecode_array = debug_info_->OriginalBytecodeArray(); in GetDebugBreakType() local
251 interpreter::Bytecodes::FromByte(bytecode_array->get(code_offset())); in GetDebugBreakType()
256 bytecode_array->get(code_offset() + 1)); in GetDebugBreakType()
284 Handle<BytecodeArray> bytecode_array(debug_info_->DebugBytecodeArray(), in SetDebugBreak() local
286 interpreter::BytecodeArrayAccessor(bytecode_array, code_offset()) in SetDebugBreak()
294 BytecodeArray* bytecode_array = debug_info_->DebugBytecodeArray(); in ClearDebugBreak() local
296 bytecode_array->set(code_offset(), original->get(code_offset())); in ClearDebugBreak()
310 BytecodeArray* bytecode_array = debug_info_->OriginalBytecodeArray(); in GetBreakLocation() local
312 handle(bytecode_array, isolate()), code_offset()); in GetBreakLocation()
2208 BytecodeArray* bytecode_array = shared->GetBytecodeArray(); in PerformSideEffectCheckAtBytecode() local
[all …]
Ddebug-evaluate.cc878 Handle<BytecodeArray> bytecode_array(info->GetBytecodeArray(), isolate); in FunctionGetSideEffectState() local
880 bytecode_array->Print(); in FunctionGetSideEffectState()
883 for (interpreter::BytecodeArrayIterator it(bytecode_array); !it.done(); in FunctionGetSideEffectState()
994 Handle<BytecodeArray> bytecode_array) { in ApplySideEffectChecks() argument
995 for (interpreter::BytecodeArrayIterator it(bytecode_array); !it.done(); in ApplySideEffectChecks()
/external/v8/src/objects/
Dshared-function-info-inl.h77 ACCESSORS(InterpreterData, bytecode_array, BytecodeArray, kBytecodeArrayOffset) in CAST_ACCESSOR()
461 return InterpreterData::cast(function_data())->bytecode_array(); in GetBytecodeArray()
472 return InterpreterData::cast(function_data())->bytecode_array(); in GetDebugBytecodeArray()
/external/v8/src/snapshot/
Ddeserializer.cc262 BytecodeArray* bytecode_array = BytecodeArray::cast(obj); in PostProcessNewObject() local
263 bytecode_array->set_interrupt_budget( in PostProcessNewObject()
265 bytecode_array->set_osr_loop_nesting_level(0); in PostProcessNewObject()
/external/v8/src/heap/
Dfactory.cc2740 Handle<BytecodeArray> bytecode_array) { in CopyBytecodeArray() argument
2741 int size = BytecodeArray::SizeFor(bytecode_array->length()); in CopyBytecodeArray()
2746 copy->set_length(bytecode_array->length()); in CopyBytecodeArray()
2747 copy->set_frame_size(bytecode_array->frame_size()); in CopyBytecodeArray()
2748 copy->set_parameter_count(bytecode_array->parameter_count()); in CopyBytecodeArray()
2750 bytecode_array->incoming_new_target_or_generator_register()); in CopyBytecodeArray()
2751 copy->set_constant_pool(bytecode_array->constant_pool()); in CopyBytecodeArray()
2752 copy->set_handler_table(bytecode_array->handler_table()); in CopyBytecodeArray()
2753 copy->set_source_position_table(bytecode_array->source_position_table()); in CopyBytecodeArray()
2754 copy->set_interrupt_budget(bytecode_array->interrupt_budget()); in CopyBytecodeArray()
[all …]

12