Home
last modified time | relevance | path

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

12

/external/v8/test/cctest/interpreter/
Dbytecode-expectations-printer.cc73 i::handle(js_function->shared()->bytecode_array(), i_isolate()); in GetBytecodeArrayForGlobal()
82 return i::handle(js_function->shared()->bytecode_array(), i_isolate()); in GetBytecodeArrayForScript()
259 std::ostream& stream, i::Handle<i::BytecodeArray> bytecode_array) const { in PrintFrameSize()
261 int frame_size = bytecode_array->frame_size(); in PrintFrameSize()
265 << "\nparameter count: " << bytecode_array->parameter_count() << '\n'; in PrintFrameSize()
269 std::ostream& stream, i::Handle<i::BytecodeArray> bytecode_array) const { in PrintBytecodeSequence()
270 stream << "bytecode array length: " << bytecode_array->length() in PrintBytecodeSequence()
274 bytecode_array->source_position_table()); in PrintBytecodeSequence()
275 BytecodeArrayIterator bytecode_iterator(bytecode_array); in PrintBytecodeSequence()
280 PrintBytecode(stream, bytecode_iterator, bytecode_array->parameter_count()); in PrintBytecodeSequence()
[all …]
Dtest-interpreter.cc30 Handle<BytecodeArray> bytecode_array = builder.ToBytecodeArray(); in TEST() local
32 InterpreterTester tester(handles.main_isolate(), bytecode_array); in TEST()
47 Handle<BytecodeArray> bytecode_array = builder.ToBytecodeArray(); in TEST() local
49 InterpreterTester tester(handles.main_isolate(), bytecode_array); in TEST()
63 Handle<BytecodeArray> bytecode_array = builder.ToBytecodeArray(); in TEST() local
65 InterpreterTester tester(handles.main_isolate(), bytecode_array); in TEST()
80 Handle<BytecodeArray> bytecode_array = builder.ToBytecodeArray(); in TEST() local
82 InterpreterTester tester(handles.main_isolate(), bytecode_array); in TEST()
96 Handle<BytecodeArray> bytecode_array = builder.ToBytecodeArray(); in TEST() local
98 InterpreterTester tester(handles.main_isolate(), bytecode_array); in TEST()
[all …]
Dbytecode-expectations-printer.h83 i::Handle<i::BytecodeArray> bytecode_array) const;
85 i::Handle<i::BytecodeArray> bytecode_array) const;
91 i::Handle<i::BytecodeArray> bytecode_array) const;
93 i::Handle<i::BytecodeArray> bytecode_array) const;
Dsource-position-matcher.cc164 Handle<BytecodeArray> bytecode_array, in StripUnneededExpressionPositions() argument
174 if (ExpressionPositionIsNeeded(bytecode_array, in StripUnneededExpressionPositions()
191 Handle<BytecodeArray> bytecode_array, int start_offset, int end_offset) { in ExpressionPositionIsNeeded() argument
193 BytecodeArrayIterator iterator(bytecode_array); in ExpressionPositionIsNeeded()
Dsource-position-matcher.h31 Handle<BytecodeArray> bytecode_array,
35 bool ExpressionPositionIsNeeded(Handle<BytecodeArray> bytecode_array,
Dtest-source-positions.cc194 return handle(function->shared()->bytecode_array()); in MakeBytecode()
/external/v8/src/interpreter/
Dbytecode-array-iterator.cc15 Handle<BytecodeArray> bytecode_array) in BytecodeArrayIterator() argument
16 : bytecode_array_(bytecode_array), in BytecodeArrayIterator()
30 uint8_t current_byte = bytecode_array()->get(bytecode_offset_); in UpdateOperandScale()
44 return bytecode_offset_ >= bytecode_array()->length(); in done()
50 bytecode_array()->get(bytecode_offset_ + current_prefix_offset()); in current_bytecode()
69 bytecode_array()->GetFirstBytecodeAddress() + bytecode_offset_ + in GetUnsignedOperand()
85 bytecode_array()->GetFirstBytecodeAddress() + bytecode_offset_ + in GetSignedOperand()
123 bytecode_array()->GetFirstBytecodeAddress() + bytecode_offset_ + in GetRegisterOperand()
165 return FixedArray::get(bytecode_array()->constant_pool(), in GetConstantForIndexOperand()
167 bytecode_array()->GetIsolate()); in GetConstantForIndexOperand()
Dbytecode-array-iterator.h19 explicit BytecodeArrayIterator(Handle<BytecodeArray> bytecode_array);
28 const Handle<BytecodeArray>& bytecode_array() const { in bytecode_array() function
Dbytecode-array-writer.cc47 Handle<BytecodeArray> bytecode_array = isolate_->factory()->NewBytecodeArray( in ToBytecodeArray() local
50 bytecode_array->set_handler_table(*handler_table); in ToBytecodeArray()
51 bytecode_array->set_source_position_table(*source_position_table); in ToBytecodeArray()
55 AbstractCode::cast(*bytecode_array), line_info)); in ToBytecodeArray()
56 return bytecode_array; in ToBytecodeArray()
Dinterpreter-assembler.cc93 return LoadRegister(Register::bytecode_array()); in BytecodeArrayTaggedPointer()
709 Node* bytecode_array = LoadRegister(Register::bytecode_array()); in RegisterCount() local
711 bytecode_array, BytecodeArray::kFrameSizeOffset, MachineType::Int32()); in RegisterCount()
/external/v8/src/compiler/
Dbytecode-branch-analysis.cc15 Handle<BytecodeArray> bytecode_array, Zone* zone) in BytecodeBranchAnalysis() argument
16 : bytecode_array_(bytecode_array), in BytecodeBranchAnalysis()
17 is_backward_target_(bytecode_array->length(), zone), in BytecodeBranchAnalysis()
18 is_forward_target_(bytecode_array->length(), zone), in BytecodeBranchAnalysis()
22 interpreter::BytecodeArrayIterator iterator(bytecode_array()); in Analyze()
Dbytecode-branch-analysis.h27 BytecodeBranchAnalysis(Handle<BytecodeArray> bytecode_array, Zone* zone);
50 Handle<BytecodeArray> bytecode_array() const { return bytecode_array_; } in bytecode_array() function
Dbytecode-graph-builder.cc442 bytecode_array_(handle(info->shared_info()->bytecode_array())), in BytecodeGraphBuilder()
444 handle(HandlerTable::cast(bytecode_array()->handler_table()))), in BytecodeGraphBuilder()
448 bytecode_array()->parameter_count(), in BytecodeGraphBuilder()
449 bytecode_array()->register_count(), info->shared_info())), in BytecodeGraphBuilder()
459 int params = bytecode_array()->parameter_count(); in GetNewTarget()
471 int params = bytecode_array()->parameter_count(); in GetFunctionContext()
516 int actual_parameter_count = bytecode_array()->parameter_count() + 4; in CreateGraph()
519 Environment env(this, bytecode_array()->register_count(), in CreateGraph()
520 bytecode_array()->parameter_count(), graph()->start(), in CreateGraph()
537 BytecodeBranchAnalysis analysis(bytecode_array(), local_zone()); in VisitBytecodes()
[all …]
Dbytecode-graph-builder.h178 const Handle<BytecodeArray>& bytecode_array() const { in bytecode_array() function
/external/v8/src/runtime/
Druntime-interpreter.cc69 bytecode_iterator.bytecode_array()->GetIsolate()); in PrintRegisters()
89 bytecode_iterator.bytecode_array()->parameter_count()) in PrintRegisters()
106 CONVERT_ARG_HANDLE_CHECKED(BytecodeArray, bytecode_array, 0); in RUNTIME_FUNCTION()
112 interpreter::BytecodeArrayIterator bytecode_iterator(bytecode_array); in RUNTIME_FUNCTION()
116 const uint8_t* base_address = bytecode_array->GetFirstBytecodeAddress(); in RUNTIME_FUNCTION()
121 bytecode_array->parameter_count()); in RUNTIME_FUNCTION()
134 CONVERT_ARG_HANDLE_CHECKED(BytecodeArray, bytecode_array, 0); in RUNTIME_FUNCTION()
139 interpreter::BytecodeArrayIterator bytecode_iterator(bytecode_array); in RUNTIME_FUNCTION()
Druntime-generator.cc26 int size = function->shared()->bytecode_array()->register_count(); in RUNTIME_FUNCTION()
Druntime-function.cc184 target_shared->set_bytecode_array(source_shared->bytecode_array()); in RUNTIME_FUNCTION()
Druntime-debug.cc53 BytecodeArray* bytecode_array = shared->bytecode_array(); in RUNTIME_FUNCTION() local
56 interpreter::Bytecodes::FromByte(bytecode_array->get(bytecode_offset)); in RUNTIME_FUNCTION()
/external/v8/src/profiler/
Dtick-sample.cc158 Address bytecode_array = in GetStackSample() local
160 frames[i++] = bytecode_array + BytecodeArray::kHeaderSize + in GetStackSample()
/external/v8/src/
Dcompiler.h190 Handle<BytecodeArray> bytecode_array() const { return bytecode_array_; } in bytecode_array() function
302 void SetBytecodeArray(Handle<BytecodeArray> bytecode_array) { in SetBytecodeArray() argument
303 bytecode_array_ = bytecode_array; in SetBytecodeArray()
Dframes.cc1103 abstract_code = AbstractCode::cast(shared_info->bytecode_array()); in Summarize()
1225 BytecodeArray* bytecode = function()->shared()->bytecode_array(); in LookupExceptionHandlerInTable()
1257 void InterpretedFrame::PatchBytecodeArray(BytecodeArray* bytecode_array) { in PatchBytecodeArray() argument
1262 SetExpression(index, bytecode_array); in PatchBytecodeArray()
1286 AbstractCode::cast(function()->shared()->bytecode_array()); in Summarize()
Dcompiler.cc392 ? Handle<AbstractCode>::cast(info->bytecode_array()) in RecordFunctionCompilation()
465 return info->bytecode_array()->SizeIncludingMetadata(); in CodeAndMetadataSize()
531 shared->set_bytecode_array(*info->bytecode_array()); in InstallSharedCompilationResult()
/external/v8/src/debug/
Ddebug-frames.cc75 BytecodeArray* bytecode_array = frame->GetBytecodeArray(); in GetSourcePosition() local
76 return bytecode_array->SourcePosition(frame->GetBytecodeOffset()); in GetSourcePosition()
Ddebug.cc228 BytecodeArray* bytecode_array = debug_info_->original_bytecode_array(); in GetDebugBreakType() local
230 interpreter::Bytecodes::FromByte(bytecode_array->get(code_offset())); in GetDebugBreakType()
410 BytecodeArray* bytecode_array = abstract_code()->GetBytecodeArray(); in SetDebugBreak() local
412 interpreter::Bytecodes::FromByte(bytecode_array->get(code_offset())); in SetDebugBreak()
415 bytecode_array->set(code_offset(), in SetDebugBreak()
433 BytecodeArray* bytecode_array = abstract_code()->GetBytecodeArray(); in ClearDebugBreak() local
435 bytecode_array->set(code_offset(), original->get(code_offset())); in ClearDebugBreak()
450 BytecodeArray* bytecode_array = abstract_code()->GetBytecodeArray(); in IsDebugBreak() local
452 interpreter::Bytecodes::FromByte(bytecode_array->get(code_offset())); in IsDebugBreak()
/external/v8/src/heap/
Dheap.cc2351 ALLOCATE_VARSIZE_MAP(BYTECODE_ARRAY_TYPE, bytecode_array) in CreateInitialMaps()
3406 AllocationResult Heap::CopyBytecodeArray(BytecodeArray* bytecode_array) { in CopyBytecodeArray() argument
3407 int size = BytecodeArray::SizeFor(bytecode_array->length()); in CopyBytecodeArray()
3416 copy->set_length(bytecode_array->length()); in CopyBytecodeArray()
3417 copy->set_frame_size(bytecode_array->frame_size()); in CopyBytecodeArray()
3418 copy->set_parameter_count(bytecode_array->parameter_count()); in CopyBytecodeArray()
3419 copy->set_constant_pool(bytecode_array->constant_pool()); in CopyBytecodeArray()
3420 copy->set_handler_table(bytecode_array->handler_table()); in CopyBytecodeArray()
3421 copy->set_source_position_table(bytecode_array->source_position_table()); in CopyBytecodeArray()
3422 copy->set_interrupt_budget(bytecode_array->interrupt_budget()); in CopyBytecodeArray()
[all …]

12