| /external/v8/test/cctest/interpreter/ |
| D | bytecode-expectations-printer.cc | 73 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 …]
|
| D | test-interpreter.cc | 30 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 …]
|
| D | bytecode-expectations-printer.h | 83 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;
|
| D | source-position-matcher.cc | 164 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()
|
| D | source-position-matcher.h | 31 Handle<BytecodeArray> bytecode_array, 35 bool ExpressionPositionIsNeeded(Handle<BytecodeArray> bytecode_array,
|
| D | test-source-positions.cc | 194 return handle(function->shared()->bytecode_array()); in MakeBytecode()
|
| /external/v8/src/interpreter/ |
| D | bytecode-array-iterator.cc | 15 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()
|
| D | bytecode-array-iterator.h | 19 explicit BytecodeArrayIterator(Handle<BytecodeArray> bytecode_array); 28 const Handle<BytecodeArray>& bytecode_array() const { in bytecode_array() function
|
| D | bytecode-array-writer.cc | 47 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()
|
| D | interpreter-assembler.cc | 93 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/ |
| D | bytecode-branch-analysis.cc | 15 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()
|
| D | bytecode-branch-analysis.h | 27 BytecodeBranchAnalysis(Handle<BytecodeArray> bytecode_array, Zone* zone); 50 Handle<BytecodeArray> bytecode_array() const { return bytecode_array_; } in bytecode_array() function
|
| D | bytecode-graph-builder.cc | 442 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 …]
|
| D | bytecode-graph-builder.h | 178 const Handle<BytecodeArray>& bytecode_array() const { in bytecode_array() function
|
| /external/v8/src/runtime/ |
| D | runtime-interpreter.cc | 69 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()
|
| D | runtime-generator.cc | 26 int size = function->shared()->bytecode_array()->register_count(); in RUNTIME_FUNCTION()
|
| D | runtime-function.cc | 184 target_shared->set_bytecode_array(source_shared->bytecode_array()); in RUNTIME_FUNCTION()
|
| D | runtime-debug.cc | 53 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/ |
| D | tick-sample.cc | 158 Address bytecode_array = in GetStackSample() local 160 frames[i++] = bytecode_array + BytecodeArray::kHeaderSize + in GetStackSample()
|
| /external/v8/src/ |
| D | compiler.h | 190 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()
|
| D | frames.cc | 1103 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()
|
| D | compiler.cc | 392 ? 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/ |
| D | debug-frames.cc | 75 BytecodeArray* bytecode_array = frame->GetBytecodeArray(); in GetSourcePosition() local 76 return bytecode_array->SourcePosition(frame->GetBytecodeOffset()); in GetSourcePosition()
|
| D | debug.cc | 228 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/ |
| D | heap.cc | 2351 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 …]
|