Commit d1c28849 authored by rmcilroy's avatar rmcilroy Committed by Commit bot

[Interpreter] Make InterpreterAssembler a subclass of CodeStubAssembler.

Moves InterpreterAssembler out of the compiler directory and into the
interpreter directory. Makes InterpreterAssembler as subclass of
CodeStubAssembler.

As part of this change, the special bytecode dispatch linkage type
is removed and instead we use a InterfaceDispatchDescriptor and
a normal CodeStub linkage type.

Removes a bunch of duplicated logic in InterpreterAssembler and
instead uses the CodeStubAssembler logic. Refactors Interpreter
with these changes.

Modifies CodeStubAssembler to add the extra operations required
by the Interpreter (extra call types, raw memory access and some extra
binary ops). Also adds the ability for subclasses to add extra
prologue and epilogue operations around calls, which is required
for the Interpreter.

BUG=v8:4280
LOG=N

Review URL: https://codereview.chromium.org/1673333004

Cr-Commit-Position: refs/heads/master@{#33873}
parent e0d0c96a
...@@ -785,8 +785,6 @@ source_set("v8_base") { ...@@ -785,8 +785,6 @@ source_set("v8_base") {
"src/compiler/instruction.h", "src/compiler/instruction.h",
"src/compiler/int64-lowering.cc", "src/compiler/int64-lowering.cc",
"src/compiler/int64-lowering.h", "src/compiler/int64-lowering.h",
"src/compiler/interpreter-assembler.cc",
"src/compiler/interpreter-assembler.h",
"src/compiler/js-builtin-reducer.cc", "src/compiler/js-builtin-reducer.cc",
"src/compiler/js-builtin-reducer.h", "src/compiler/js-builtin-reducer.h",
"src/compiler/js-call-reducer.cc", "src/compiler/js-call-reducer.cc",
...@@ -1123,6 +1121,8 @@ source_set("v8_base") { ...@@ -1123,6 +1121,8 @@ source_set("v8_base") {
"src/interpreter/handler-table-builder.h", "src/interpreter/handler-table-builder.h",
"src/interpreter/interpreter.cc", "src/interpreter/interpreter.cc",
"src/interpreter/interpreter.h", "src/interpreter/interpreter.h",
"src/interpreter/interpreter-assembler.cc",
"src/interpreter/interpreter-assembler.h",
"src/interpreter/register-translator.cc", "src/interpreter/register-translator.cc",
"src/interpreter/register-translator.h", "src/interpreter/register-translator.h",
"src/interpreter/source-position-table.cc", "src/interpreter/source-position-table.cc",
......
...@@ -44,7 +44,6 @@ ...@@ -44,7 +44,6 @@
}, },
'interpreter': { 'interpreter': {
'filepath': 'src/interpreter/' \ 'filepath': 'src/interpreter/' \
'|src/compiler/interpreter' \
'|src/compiler/bytecode' \ '|src/compiler/bytecode' \
'|test/cctest/interpreter/' \ '|test/cctest/interpreter/' \
'|test/unittests/interpreter/', '|test/unittests/interpreter/',
......
...@@ -431,6 +431,14 @@ void ApiAccessorDescriptor::InitializePlatformSpecific( ...@@ -431,6 +431,14 @@ void ApiAccessorDescriptor::InitializePlatformSpecific(
&default_descriptor); &default_descriptor);
} }
void InterpreterDispatchDescriptor::InitializePlatformSpecific(
CallInterfaceDescriptorData* data) {
Register registers[] = {
kInterpreterAccumulatorRegister, kInterpreterRegisterFileRegister,
kInterpreterBytecodeOffsetRegister, kInterpreterBytecodeArrayRegister,
kInterpreterDispatchTableRegister};
data->InitializePlatformSpecific(arraysize(registers), registers);
}
void InterpreterPushArgsAndCallDescriptor::InitializePlatformSpecific( void InterpreterPushArgsAndCallDescriptor::InitializePlatformSpecific(
CallInterfaceDescriptorData* data) { CallInterfaceDescriptorData* data) {
...@@ -442,7 +450,6 @@ void InterpreterPushArgsAndCallDescriptor::InitializePlatformSpecific( ...@@ -442,7 +450,6 @@ void InterpreterPushArgsAndCallDescriptor::InitializePlatformSpecific(
data->InitializePlatformSpecific(arraysize(registers), registers); data->InitializePlatformSpecific(arraysize(registers), registers);
} }
void InterpreterPushArgsAndConstructDescriptor::InitializePlatformSpecific( void InterpreterPushArgsAndConstructDescriptor::InitializePlatformSpecific(
CallInterfaceDescriptorData* data) { CallInterfaceDescriptorData* data) {
Register registers[] = { Register registers[] = {
...@@ -454,7 +461,6 @@ void InterpreterPushArgsAndConstructDescriptor::InitializePlatformSpecific( ...@@ -454,7 +461,6 @@ void InterpreterPushArgsAndConstructDescriptor::InitializePlatformSpecific(
data->InitializePlatformSpecific(arraysize(registers), registers); data->InitializePlatformSpecific(arraysize(registers), registers);
} }
void InterpreterCEntryDescriptor::InitializePlatformSpecific( void InterpreterCEntryDescriptor::InitializePlatformSpecific(
CallInterfaceDescriptorData* data) { CallInterfaceDescriptorData* data) {
Register registers[] = { Register registers[] = {
......
...@@ -465,6 +465,14 @@ void ApiAccessorDescriptor::InitializePlatformSpecific( ...@@ -465,6 +465,14 @@ void ApiAccessorDescriptor::InitializePlatformSpecific(
&default_descriptor); &default_descriptor);
} }
void InterpreterDispatchDescriptor::InitializePlatformSpecific(
CallInterfaceDescriptorData* data) {
Register registers[] = {
kInterpreterAccumulatorRegister, kInterpreterRegisterFileRegister,
kInterpreterBytecodeOffsetRegister, kInterpreterBytecodeArrayRegister,
kInterpreterDispatchTableRegister};
data->InitializePlatformSpecific(arraysize(registers), registers);
}
void InterpreterPushArgsAndCallDescriptor::InitializePlatformSpecific( void InterpreterPushArgsAndCallDescriptor::InitializePlatformSpecific(
CallInterfaceDescriptorData* data) { CallInterfaceDescriptorData* data) {
...@@ -476,7 +484,6 @@ void InterpreterPushArgsAndCallDescriptor::InitializePlatformSpecific( ...@@ -476,7 +484,6 @@ void InterpreterPushArgsAndCallDescriptor::InitializePlatformSpecific(
data->InitializePlatformSpecific(arraysize(registers), registers); data->InitializePlatformSpecific(arraysize(registers), registers);
} }
void InterpreterPushArgsAndConstructDescriptor::InitializePlatformSpecific( void InterpreterPushArgsAndConstructDescriptor::InitializePlatformSpecific(
CallInterfaceDescriptorData* data) { CallInterfaceDescriptorData* data) {
Register registers[] = { Register registers[] = {
...@@ -488,7 +495,6 @@ void InterpreterPushArgsAndConstructDescriptor::InitializePlatformSpecific( ...@@ -488,7 +495,6 @@ void InterpreterPushArgsAndConstructDescriptor::InitializePlatformSpecific(
data->InitializePlatformSpecific(arraysize(registers), registers); data->InitializePlatformSpecific(arraysize(registers), registers);
} }
void InterpreterCEntryDescriptor::InitializePlatformSpecific( void InterpreterCEntryDescriptor::InitializePlatformSpecific(
CallInterfaceDescriptorData* data) { CallInterfaceDescriptorData* data) {
Register registers[] = { Register registers[] = {
......
This diff is collapsed.
...@@ -53,6 +53,7 @@ class Schedule; ...@@ -53,6 +53,7 @@ class Schedule;
V(Word32Or) \ V(Word32Or) \
V(Word32And) \ V(Word32And) \
V(Word32Xor) \ V(Word32Xor) \
V(Word32Shl) \
V(Word32Shr) \ V(Word32Shr) \
V(Word32Sar) \ V(Word32Sar) \
V(Word32Ror) \ V(Word32Ror) \
...@@ -63,13 +64,17 @@ class Schedule; ...@@ -63,13 +64,17 @@ class Schedule;
V(Word64Xor) \ V(Word64Xor) \
V(Word64Shr) \ V(Word64Shr) \
V(Word64Sar) \ V(Word64Sar) \
V(Word64Ror) V(Word64Ror) \
V(UintPtrGreaterThanOrEqual)
class CodeStubAssembler { class CodeStubAssembler {
public: public:
// |result_size| specifies the number of results returned by the stub.
// TODO(rmcilroy): move result_size to the CallInterfaceDescriptor.
CodeStubAssembler(Isolate* isolate, Zone* zone, CodeStubAssembler(Isolate* isolate, Zone* zone,
const CallInterfaceDescriptor& descriptor, const CallInterfaceDescriptor& descriptor,
Code::Flags flags, const char* name); Code::Flags flags, const char* name,
size_t result_size = 1);
virtual ~CodeStubAssembler(); virtual ~CodeStubAssembler();
Handle<Code> GenerateCode(); Handle<Code> GenerateCode();
...@@ -115,6 +120,20 @@ class CodeStubAssembler { ...@@ -115,6 +120,20 @@ class CodeStubAssembler {
Node* LoadFramePointer(); Node* LoadFramePointer();
Node* LoadParentFramePointer(); Node* LoadParentFramePointer();
// Access to the stack pointer
Node* LoadStackPointer();
// Load raw memory location.
Node* Load(MachineType rep, Node* base);
Node* Load(MachineType rep, Node* base, Node* index);
// Store value to raw memory location.
Node* Store(MachineRepresentation rep, Node* base, Node* value);
Node* Store(MachineRepresentation rep, Node* base, Node* index, Node* value);
Node* StoreNoWriteBarrier(MachineRepresentation rep, Node* base, Node* value);
Node* StoreNoWriteBarrier(MachineRepresentation rep, Node* base, Node* index,
Node* value);
// Basic arithmetic operations. // Basic arithmetic operations.
#define DECLARE_CODE_STUB_ASSEMBER_BINARY_OP(name) Node* name(Node* a, Node* b); #define DECLARE_CODE_STUB_ASSEMBER_BINARY_OP(name) Node* name(Node* a, Node* b);
CODE_STUB_ASSEMBLER_BINARY_OP_LIST(DECLARE_CODE_STUB_ASSEMBER_BINARY_OP) CODE_STUB_ASSEMBLER_BINARY_OP_LIST(DECLARE_CODE_STUB_ASSEMBER_BINARY_OP)
...@@ -122,10 +141,23 @@ class CodeStubAssembler { ...@@ -122,10 +141,23 @@ class CodeStubAssembler {
Node* WordShl(Node* value, int shift); Node* WordShl(Node* value, int shift);
// Conversions
Node* ChangeInt32ToInt64(Node* value);
// Projections
Node* Projection(int index, Node* value);
// Calls // Calls
Node* CallRuntime(Runtime::FunctionId function_id, Node* context);
Node* CallRuntime(Runtime::FunctionId function_id, Node* context, Node* arg1); Node* CallRuntime(Runtime::FunctionId function_id, Node* context, Node* arg1);
Node* CallRuntime(Runtime::FunctionId function_id, Node* context, Node* arg1, Node* CallRuntime(Runtime::FunctionId function_id, Node* context, Node* arg1,
Node* arg2); Node* arg2);
Node* CallRuntime(Runtime::FunctionId function_id, Node* context, Node* arg1,
Node* arg2, Node* arg3);
Node* CallRuntime(Runtime::FunctionId function_id, Node* context, Node* arg1,
Node* arg2, Node* arg3, Node* arg4);
Node* CallRuntime(Runtime::FunctionId function_id, Node* context, Node* arg1,
Node* arg2, Node* arg3, Node* arg4, Node* arg5);
Node* TailCallRuntime(Runtime::FunctionId function_id, Node* context, Node* TailCallRuntime(Runtime::FunctionId function_id, Node* context,
Node* arg1); Node* arg1);
...@@ -136,9 +168,23 @@ class CodeStubAssembler { ...@@ -136,9 +168,23 @@ class CodeStubAssembler {
Node* TailCallRuntime(Runtime::FunctionId function_id, Node* context, Node* TailCallRuntime(Runtime::FunctionId function_id, Node* context,
Node* arg1, Node* arg2, Node* arg3, Node* arg4); Node* arg1, Node* arg2, Node* arg3, Node* arg4);
Node* CallStub(const CallInterfaceDescriptor& descriptor, Node* target,
Node* context, Node* arg1, size_t result_size = 1);
Node* CallStub(const CallInterfaceDescriptor& descriptor, Node* target,
Node* context, Node* arg1, Node* arg2, size_t result_size = 1);
Node* CallStub(const CallInterfaceDescriptor& descriptor, Node* target,
Node* context, Node* arg1, Node* arg2, Node* arg3,
size_t result_size = 1);
Node* CallStub(const CallInterfaceDescriptor& descriptor, Node* target,
Node* context, Node* arg1, Node* arg2, Node* arg3, Node* arg4,
size_t result_size = 1);
Node* CallStub(const CallInterfaceDescriptor& descriptor, Node* target,
Node* context, Node* arg1, Node* arg2, Node* arg3, Node* arg4,
Node* arg5, size_t result_size = 1);
Node* TailCallStub(CodeStub& stub, Node** args); Node* TailCallStub(CodeStub& stub, Node** args);
Node* TailCall(const CallInterfaceDescriptor& descriptor, Node* target, Node* TailCall(const CallInterfaceDescriptor& descriptor, Node* target,
Node** args); Node** args, size_t result_size = 1);
// =========================================================================== // ===========================================================================
// Macros // Macros
...@@ -164,6 +210,16 @@ class CodeStubAssembler { ...@@ -164,6 +210,16 @@ class CodeStubAssembler {
int additional_offset = 0); int additional_offset = 0);
Node* LoadFixedArrayElementConstantIndex(Node* object, int index); Node* LoadFixedArrayElementConstantIndex(Node* object, int index);
protected:
// Protected helpers which delegate to RawMachineAssembler.
Graph* graph();
Isolate* isolate();
Zone* zone();
// Enables subclasses to perform operations before and after a call.
virtual void CallPrologue();
virtual void CallEpilogue();
private: private:
friend class CodeStubAssemblerTester; friend class CodeStubAssemblerTester;
...@@ -172,11 +228,6 @@ class CodeStubAssembler { ...@@ -172,11 +228,6 @@ class CodeStubAssembler {
Node* SmiShiftBitsConstant(); Node* SmiShiftBitsConstant();
// Private helpers which delegate to RawMachineAssembler.
Graph* graph();
Isolate* isolate();
Zone* zone();
base::SmartPointer<RawMachineAssembler> raw_assembler_; base::SmartPointer<RawMachineAssembler> raw_assembler_;
Code::Flags flags_; Code::Flags flags_;
const char* name_; const char* name_;
......
...@@ -366,60 +366,6 @@ CallDescriptor* Linkage::GetJSCallDescriptor(Zone* zone, bool is_osr, ...@@ -366,60 +366,6 @@ CallDescriptor* Linkage::GetJSCallDescriptor(Zone* zone, bool is_osr,
"js-call"); "js-call");
} }
CallDescriptor* Linkage::GetInterpreterDispatchDescriptor(Zone* zone) {
MachineSignature::Builder types(zone, 0, 6);
LocationSignature::Builder locations(zone, 0, 6);
// Add registers for fixed parameters passed via interpreter dispatch.
STATIC_ASSERT(0 == Linkage::kInterpreterAccumulatorParameter);
types.AddParam(MachineType::AnyTagged());
locations.AddParam(regloc(kInterpreterAccumulatorRegister));
STATIC_ASSERT(1 == Linkage::kInterpreterRegisterFileParameter);
types.AddParam(MachineType::Pointer());
locations.AddParam(regloc(kInterpreterRegisterFileRegister));
STATIC_ASSERT(2 == Linkage::kInterpreterBytecodeOffsetParameter);
types.AddParam(MachineType::IntPtr());
locations.AddParam(regloc(kInterpreterBytecodeOffsetRegister));
STATIC_ASSERT(3 == Linkage::kInterpreterBytecodeArrayParameter);
types.AddParam(MachineType::AnyTagged());
locations.AddParam(regloc(kInterpreterBytecodeArrayRegister));
STATIC_ASSERT(4 == Linkage::kInterpreterDispatchTableParameter);
types.AddParam(MachineType::Pointer());
#if defined(V8_TARGET_ARCH_IA32) || defined(V8_TARGET_ARCH_X87)
// TODO(rmcilroy): Make the context param the one spilled to the stack once
// Turbofan supports modified stack arguments in tail calls.
locations.AddParam(
LinkageLocation::ForCallerFrameSlot(kInterpreterDispatchTableSpillSlot));
#else
locations.AddParam(regloc(kInterpreterDispatchTableRegister));
#endif
STATIC_ASSERT(5 == Linkage::kInterpreterContextParameter);
types.AddParam(MachineType::AnyTagged());
locations.AddParam(regloc(kContextRegister));
LinkageLocation target_loc = LinkageLocation::ForAnyRegister();
return new (zone) CallDescriptor( // --
CallDescriptor::kCallCodeObject, // kind
MachineType::None(), // target MachineType
target_loc, // target location
types.Build(), // machine_sig
locations.Build(), // location_sig
0, // stack_parameter_count
Operator::kNoProperties, // properties
kNoCalleeSaved, // callee-saved registers
kNoCalleeSaved, // callee-saved fp regs
CallDescriptor::kSupportsTailCalls | // flags
CallDescriptor::kCanUseRoots, // flags
"interpreter-dispatch");
}
// TODO(all): Add support for return representations/locations to // TODO(all): Add support for return representations/locations to
// CallInterfaceDescriptor. // CallInterfaceDescriptor.
// TODO(turbofan): cache call descriptors for code stub calls. // TODO(turbofan): cache call descriptors for code stub calls.
......
...@@ -336,11 +336,6 @@ class Linkage : public ZoneObject { ...@@ -336,11 +336,6 @@ class Linkage : public ZoneObject {
Zone* zone, const MachineSignature* sig, Zone* zone, const MachineSignature* sig,
bool set_initialize_root_flag = false); bool set_initialize_root_flag = false);
// Creates a call descriptor for interpreter handler code stubs. These are not
// intended to be called directly but are instead dispatched to by the
// interpreter.
static CallDescriptor* GetInterpreterDispatchDescriptor(Zone* zone);
// Get the location of an (incoming) parameter to this function. // Get the location of an (incoming) parameter to this function.
LinkageLocation GetParameterLocation(int index) const { LinkageLocation GetParameterLocation(int index) const {
return incoming_->GetInputLocation(index + 1); // + 1 to skip target. return incoming_->GetInputLocation(index + 1); // + 1 to skip target.
...@@ -390,15 +385,6 @@ class Linkage : public ZoneObject { ...@@ -390,15 +385,6 @@ class Linkage : public ZoneObject {
// A special {OsrValue} index to indicate the context spill slot. // A special {OsrValue} index to indicate the context spill slot.
static const int kOsrContextSpillSlotIndex = -1; static const int kOsrContextSpillSlotIndex = -1;
// Special parameter indices used to pass fixed register data through
// interpreter dispatches.
static const int kInterpreterAccumulatorParameter = 0;
static const int kInterpreterRegisterFileParameter = 1;
static const int kInterpreterBytecodeOffsetParameter = 2;
static const int kInterpreterBytecodeArrayParameter = 3;
static const int kInterpreterDispatchTableParameter = 4;
static const int kInterpreterContextParameter = 5;
private: private:
CallDescriptor* const incoming_; CallDescriptor* const incoming_;
......
...@@ -412,6 +412,13 @@ void ApiAccessorDescriptor::InitializePlatformSpecific( ...@@ -412,6 +412,13 @@ void ApiAccessorDescriptor::InitializePlatformSpecific(
data->InitializePlatformSpecific(arraysize(registers), registers); data->InitializePlatformSpecific(arraysize(registers), registers);
} }
void InterpreterDispatchDescriptor::InitializePlatformSpecific(
CallInterfaceDescriptorData* data) {
Register registers[] = {
kInterpreterAccumulatorRegister, kInterpreterRegisterFileRegister,
kInterpreterBytecodeOffsetRegister, kInterpreterBytecodeArrayRegister };
data->InitializePlatformSpecific(arraysize(registers), registers);
}
void InterpreterPushArgsAndCallDescriptor::InitializePlatformSpecific( void InterpreterPushArgsAndCallDescriptor::InitializePlatformSpecific(
CallInterfaceDescriptorData* data) { CallInterfaceDescriptorData* data) {
...@@ -423,7 +430,6 @@ void InterpreterPushArgsAndCallDescriptor::InitializePlatformSpecific( ...@@ -423,7 +430,6 @@ void InterpreterPushArgsAndCallDescriptor::InitializePlatformSpecific(
data->InitializePlatformSpecific(arraysize(registers), registers); data->InitializePlatformSpecific(arraysize(registers), registers);
} }
void InterpreterPushArgsAndConstructDescriptor::InitializePlatformSpecific( void InterpreterPushArgsAndConstructDescriptor::InitializePlatformSpecific(
CallInterfaceDescriptorData* data) { CallInterfaceDescriptorData* data) {
Register registers[] = { Register registers[] = {
...@@ -435,7 +441,6 @@ void InterpreterPushArgsAndConstructDescriptor::InitializePlatformSpecific( ...@@ -435,7 +441,6 @@ void InterpreterPushArgsAndConstructDescriptor::InitializePlatformSpecific(
data->InitializePlatformSpecific(arraysize(registers), registers); data->InitializePlatformSpecific(arraysize(registers), registers);
} }
void InterpreterCEntryDescriptor::InitializePlatformSpecific( void InterpreterCEntryDescriptor::InitializePlatformSpecific(
CallInterfaceDescriptorData* data) { CallInterfaceDescriptorData* data) {
Register registers[] = { Register registers[] = {
......
...@@ -545,6 +545,19 @@ FunctionType* ApiAccessorDescriptor::BuildCallInterfaceDescriptorFunctionType( ...@@ -545,6 +545,19 @@ FunctionType* ApiAccessorDescriptor::BuildCallInterfaceDescriptorFunctionType(
return function; return function;
} }
FunctionType*
InterpreterDispatchDescriptor::BuildCallInterfaceDescriptorFunctionType(
Isolate* isolate, int parameter_count) {
Zone* zone = isolate->interface_descriptor_zone();
FunctionType* function =
Type::Function(AnyTagged(zone), Type::Undefined(), 5, zone)->AsFunction();
function->InitParameter(kAccumulatorParameter, AnyTagged(zone));
function->InitParameter(kRegisterFileParameter, ExternalPointer(zone));
function->InitParameter(kBytecodeOffsetParameter, UntaggedIntegral32(zone));
function->InitParameter(kBytecodeArrayParameter, AnyTagged(zone));
function->InitParameter(kDispatchTableParameter, AnyTagged(zone));
return function;
}
} // namespace internal } // namespace internal
} // namespace v8 } // namespace v8
...@@ -76,6 +76,7 @@ class PlatformInterfaceDescriptor; ...@@ -76,6 +76,7 @@ class PlatformInterfaceDescriptor;
V(MathPowInteger) \ V(MathPowInteger) \
V(ContextOnly) \ V(ContextOnly) \
V(GrowArrayElements) \ V(GrowArrayElements) \
V(InterpreterDispatch) \
V(InterpreterPushArgsAndCall) \ V(InterpreterPushArgsAndCall) \
V(InterpreterPushArgsAndConstruct) \ V(InterpreterPushArgsAndConstruct) \
V(InterpreterCEntry) V(InterpreterCEntry)
...@@ -752,6 +753,18 @@ class GrowArrayElementsDescriptor : public CallInterfaceDescriptor { ...@@ -752,6 +753,18 @@ class GrowArrayElementsDescriptor : public CallInterfaceDescriptor {
static const Register KeyRegister(); static const Register KeyRegister();
}; };
class InterpreterDispatchDescriptor : public CallInterfaceDescriptor {
public:
DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(InterpreterDispatchDescriptor,
CallInterfaceDescriptor)
static const int kAccumulatorParameter = 0;
static const int kRegisterFileParameter = 1;
static const int kBytecodeOffsetParameter = 2;
static const int kBytecodeArrayParameter = 3;
static const int kDispatchTableParameter = 4;
static const int kContextParameter = 5;
};
class InterpreterPushArgsAndCallDescriptor : public CallInterfaceDescriptor { class InterpreterPushArgsAndCallDescriptor : public CallInterfaceDescriptor {
public: public:
...@@ -773,7 +786,6 @@ class InterpreterCEntryDescriptor : public CallInterfaceDescriptor { ...@@ -773,7 +786,6 @@ class InterpreterCEntryDescriptor : public CallInterfaceDescriptor {
DECLARE_DESCRIPTOR(InterpreterCEntryDescriptor, CallInterfaceDescriptor) DECLARE_DESCRIPTOR(InterpreterCEntryDescriptor, CallInterfaceDescriptor)
}; };
#undef DECLARE_DESCRIPTOR #undef DECLARE_DESCRIPTOR
......
include_rules = [
"+src/compiler/interpreter-assembler.h",
]
This diff is collapsed.
...@@ -21,12 +21,10 @@ class Isolate; ...@@ -21,12 +21,10 @@ class Isolate;
class Callable; class Callable;
class CompilationInfo; class CompilationInfo;
namespace compiler {
class InterpreterAssembler;
}
namespace interpreter { namespace interpreter {
class InterpreterAssembler;
class Interpreter { class Interpreter {
public: public:
explicit Interpreter(Isolate* isolate); explicit Interpreter(Isolate* isolate);
...@@ -41,6 +39,8 @@ class Interpreter { ...@@ -41,6 +39,8 @@ class Interpreter {
// GC support. // GC support.
void IterateDispatchTable(ObjectVisitor* v); void IterateDispatchTable(ObjectVisitor* v);
void TraceCodegen(Handle<Code> code, const char* name);
Address dispatch_table_address() { Address dispatch_table_address() {
return reinterpret_cast<Address>(&dispatch_table_[0]); return reinterpret_cast<Address>(&dispatch_table_[0]);
} }
...@@ -48,74 +48,73 @@ class Interpreter { ...@@ -48,74 +48,73 @@ class Interpreter {
private: private:
// Bytecode handler generator functions. // Bytecode handler generator functions.
#define DECLARE_BYTECODE_HANDLER_GENERATOR(Name, ...) \ #define DECLARE_BYTECODE_HANDLER_GENERATOR(Name, ...) \
void Do##Name(compiler::InterpreterAssembler* assembler); void Do##Name(InterpreterAssembler* assembler);
BYTECODE_LIST(DECLARE_BYTECODE_HANDLER_GENERATOR) BYTECODE_LIST(DECLARE_BYTECODE_HANDLER_GENERATOR)
#undef DECLARE_BYTECODE_HANDLER_GENERATOR #undef DECLARE_BYTECODE_HANDLER_GENERATOR
// Generates code to perform the binary operations via |function_id|. // Generates code to perform the binary operations via |function_id|.
void DoBinaryOp(Runtime::FunctionId function_id, void DoBinaryOp(Runtime::FunctionId function_id,
compiler::InterpreterAssembler* assembler); InterpreterAssembler* assembler);
// Generates code to perform the count operations via |function_id|. // Generates code to perform the count operations via |function_id|.
void DoCountOp(Runtime::FunctionId function_id, void DoCountOp(Runtime::FunctionId function_id,
compiler::InterpreterAssembler* assembler); InterpreterAssembler* assembler);
// Generates code to perform the comparison operation associated with // Generates code to perform the comparison operation associated with
// |compare_op|. // |compare_op|.
void DoCompareOp(Token::Value compare_op, void DoCompareOp(Token::Value compare_op, InterpreterAssembler* assembler);
compiler::InterpreterAssembler* assembler);
// Generates code to load a constant from the constant pool. // Generates code to load a constant from the constant pool.
void DoLoadConstant(compiler::InterpreterAssembler* assembler); void DoLoadConstant(InterpreterAssembler* assembler);
// Generates code to perform a global load via |ic|. // Generates code to perform a global load via |ic|.
void DoLoadGlobal(Callable ic, compiler::InterpreterAssembler* assembler); void DoLoadGlobal(Callable ic, InterpreterAssembler* assembler);
// Generates code to perform a global store via |ic|. // Generates code to perform a global store via |ic|.
void DoStoreGlobal(Callable ic, compiler::InterpreterAssembler* assembler); void DoStoreGlobal(Callable ic, InterpreterAssembler* assembler);
// Generates code to perform a named property load via |ic|. // Generates code to perform a named property load via |ic|.
void DoLoadIC(Callable ic, compiler::InterpreterAssembler* assembler); void DoLoadIC(Callable ic, InterpreterAssembler* assembler);
// Generates code to perform a keyed property load via |ic|. // Generates code to perform a keyed property load via |ic|.
void DoKeyedLoadIC(Callable ic, compiler::InterpreterAssembler* assembler); void DoKeyedLoadIC(Callable ic, InterpreterAssembler* assembler);
// Generates code to perform a namedproperty store via |ic|. // Generates code to perform a namedproperty store via |ic|.
void DoStoreIC(Callable ic, compiler::InterpreterAssembler* assembler); void DoStoreIC(Callable ic, InterpreterAssembler* assembler);
// Generates code to perform a keyed property store via |ic|. // Generates code to perform a keyed property store via |ic|.
void DoKeyedStoreIC(Callable ic, compiler::InterpreterAssembler* assembler); void DoKeyedStoreIC(Callable ic, InterpreterAssembler* assembler);
// Generates code to perform a JS call. // Generates code to perform a JS call.
void DoJSCall(compiler::InterpreterAssembler* assembler); void DoJSCall(InterpreterAssembler* assembler);
// Generates code to perform a runtime call. // Generates code to perform a runtime call.
void DoCallRuntimeCommon(compiler::InterpreterAssembler* assembler); void DoCallRuntimeCommon(InterpreterAssembler* assembler);
// Generates code to perform a runtime call returning a pair. // Generates code to perform a runtime call returning a pair.
void DoCallRuntimeForPairCommon(compiler::InterpreterAssembler* assembler); void DoCallRuntimeForPairCommon(InterpreterAssembler* assembler);
// Generates code to perform a JS runtime call. // Generates code to perform a JS runtime call.
void DoCallJSRuntimeCommon(compiler::InterpreterAssembler* assembler); void DoCallJSRuntimeCommon(InterpreterAssembler* assembler);
// Generates code to perform a constructor call.. // Generates code to perform a constructor call..
void DoCallConstruct(compiler::InterpreterAssembler* assembler); void DoCallConstruct(InterpreterAssembler* assembler);
// Generates code ro create a literal via |function_id|. // Generates code ro create a literal via |function_id|.
void DoCreateLiteral(Runtime::FunctionId function_id, void DoCreateLiteral(Runtime::FunctionId function_id,
compiler::InterpreterAssembler* assembler); InterpreterAssembler* assembler);
// Generates code to perform delete via function_id. // Generates code to perform delete via function_id.
void DoDelete(Runtime::FunctionId function_id, void DoDelete(Runtime::FunctionId function_id,
compiler::InterpreterAssembler* assembler); InterpreterAssembler* assembler);
// Generates code to perform a lookup slot load via |function_id|. // Generates code to perform a lookup slot load via |function_id|.
void DoLoadLookupSlot(Runtime::FunctionId function_id, void DoLoadLookupSlot(Runtime::FunctionId function_id,
compiler::InterpreterAssembler* assembler); InterpreterAssembler* assembler);
// Generates code to perform a lookup slot store depending on |language_mode|. // Generates code to perform a lookup slot store depending on |language_mode|.
void DoStoreLookupSlot(LanguageMode language_mode, void DoStoreLookupSlot(LanguageMode language_mode,
compiler::InterpreterAssembler* assembler); InterpreterAssembler* assembler);
bool IsDispatchTableInitialized(); bool IsDispatchTableInitialized();
......
...@@ -406,6 +406,14 @@ void ApiAccessorDescriptor::InitializePlatformSpecific( ...@@ -406,6 +406,14 @@ void ApiAccessorDescriptor::InitializePlatformSpecific(
data->InitializePlatformSpecific(arraysize(registers), registers); data->InitializePlatformSpecific(arraysize(registers), registers);
} }
void InterpreterDispatchDescriptor::InitializePlatformSpecific(
CallInterfaceDescriptorData* data) {
Register registers[] = {
kInterpreterAccumulatorRegister, kInterpreterRegisterFileRegister,
kInterpreterBytecodeOffsetRegister, kInterpreterBytecodeArrayRegister,
kInterpreterDispatchTableRegister};
data->InitializePlatformSpecific(arraysize(registers), registers);
}
void InterpreterPushArgsAndCallDescriptor::InitializePlatformSpecific( void InterpreterPushArgsAndCallDescriptor::InitializePlatformSpecific(
CallInterfaceDescriptorData* data) { CallInterfaceDescriptorData* data) {
...@@ -417,7 +425,6 @@ void InterpreterPushArgsAndCallDescriptor::InitializePlatformSpecific( ...@@ -417,7 +425,6 @@ void InterpreterPushArgsAndCallDescriptor::InitializePlatformSpecific(
data->InitializePlatformSpecific(arraysize(registers), registers); data->InitializePlatformSpecific(arraysize(registers), registers);
} }
void InterpreterPushArgsAndConstructDescriptor::InitializePlatformSpecific( void InterpreterPushArgsAndConstructDescriptor::InitializePlatformSpecific(
CallInterfaceDescriptorData* data) { CallInterfaceDescriptorData* data) {
Register registers[] = { Register registers[] = {
...@@ -429,7 +436,6 @@ void InterpreterPushArgsAndConstructDescriptor::InitializePlatformSpecific( ...@@ -429,7 +436,6 @@ void InterpreterPushArgsAndConstructDescriptor::InitializePlatformSpecific(
data->InitializePlatformSpecific(arraysize(registers), registers); data->InitializePlatformSpecific(arraysize(registers), registers);
} }
void InterpreterCEntryDescriptor::InitializePlatformSpecific( void InterpreterCEntryDescriptor::InitializePlatformSpecific(
CallInterfaceDescriptorData* data) { CallInterfaceDescriptorData* data) {
Register registers[] = { Register registers[] = {
......
...@@ -406,6 +406,14 @@ void ApiAccessorDescriptor::InitializePlatformSpecific( ...@@ -406,6 +406,14 @@ void ApiAccessorDescriptor::InitializePlatformSpecific(
data->InitializePlatformSpecific(arraysize(registers), registers); data->InitializePlatformSpecific(arraysize(registers), registers);
} }
void InterpreterDispatchDescriptor::InitializePlatformSpecific(
CallInterfaceDescriptorData* data) {
Register registers[] = {
kInterpreterAccumulatorRegister, kInterpreterRegisterFileRegister,
kInterpreterBytecodeOffsetRegister, kInterpreterBytecodeArrayRegister,
kInterpreterDispatchTableRegister};
data->InitializePlatformSpecific(arraysize(registers), registers);
}
void InterpreterPushArgsAndCallDescriptor::InitializePlatformSpecific( void InterpreterPushArgsAndCallDescriptor::InitializePlatformSpecific(
CallInterfaceDescriptorData* data) { CallInterfaceDescriptorData* data) {
...@@ -417,7 +425,6 @@ void InterpreterPushArgsAndCallDescriptor::InitializePlatformSpecific( ...@@ -417,7 +425,6 @@ void InterpreterPushArgsAndCallDescriptor::InitializePlatformSpecific(
data->InitializePlatformSpecific(arraysize(registers), registers); data->InitializePlatformSpecific(arraysize(registers), registers);
} }
void InterpreterPushArgsAndConstructDescriptor::InitializePlatformSpecific( void InterpreterPushArgsAndConstructDescriptor::InitializePlatformSpecific(
CallInterfaceDescriptorData* data) { CallInterfaceDescriptorData* data) {
Register registers[] = { Register registers[] = {
...@@ -429,7 +436,6 @@ void InterpreterPushArgsAndConstructDescriptor::InitializePlatformSpecific( ...@@ -429,7 +436,6 @@ void InterpreterPushArgsAndConstructDescriptor::InitializePlatformSpecific(
data->InitializePlatformSpecific(arraysize(registers), registers); data->InitializePlatformSpecific(arraysize(registers), registers);
} }
void InterpreterCEntryDescriptor::InitializePlatformSpecific( void InterpreterCEntryDescriptor::InitializePlatformSpecific(
CallInterfaceDescriptorData* data) { CallInterfaceDescriptorData* data) {
Register registers[] = { Register registers[] = {
......
...@@ -404,6 +404,14 @@ void ApiAccessorDescriptor::InitializePlatformSpecific( ...@@ -404,6 +404,14 @@ void ApiAccessorDescriptor::InitializePlatformSpecific(
data->InitializePlatformSpecific(arraysize(registers), registers); data->InitializePlatformSpecific(arraysize(registers), registers);
} }
void InterpreterDispatchDescriptor::InitializePlatformSpecific(
CallInterfaceDescriptorData* data) {
Register registers[] = {
kInterpreterAccumulatorRegister, kInterpreterRegisterFileRegister,
kInterpreterBytecodeOffsetRegister, kInterpreterBytecodeArrayRegister,
kInterpreterDispatchTableRegister};
data->InitializePlatformSpecific(arraysize(registers), registers);
}
void InterpreterPushArgsAndCallDescriptor::InitializePlatformSpecific( void InterpreterPushArgsAndCallDescriptor::InitializePlatformSpecific(
CallInterfaceDescriptorData* data) { CallInterfaceDescriptorData* data) {
...@@ -415,7 +423,6 @@ void InterpreterPushArgsAndCallDescriptor::InitializePlatformSpecific( ...@@ -415,7 +423,6 @@ void InterpreterPushArgsAndCallDescriptor::InitializePlatformSpecific(
data->InitializePlatformSpecific(arraysize(registers), registers); data->InitializePlatformSpecific(arraysize(registers), registers);
} }
void InterpreterPushArgsAndConstructDescriptor::InitializePlatformSpecific( void InterpreterPushArgsAndConstructDescriptor::InitializePlatformSpecific(
CallInterfaceDescriptorData* data) { CallInterfaceDescriptorData* data) {
Register registers[] = { Register registers[] = {
...@@ -427,7 +434,6 @@ void InterpreterPushArgsAndConstructDescriptor::InitializePlatformSpecific( ...@@ -427,7 +434,6 @@ void InterpreterPushArgsAndConstructDescriptor::InitializePlatformSpecific(
data->InitializePlatformSpecific(arraysize(registers), registers); data->InitializePlatformSpecific(arraysize(registers), registers);
} }
void InterpreterCEntryDescriptor::InitializePlatformSpecific( void InterpreterCEntryDescriptor::InitializePlatformSpecific(
CallInterfaceDescriptorData* data) { CallInterfaceDescriptorData* data) {
Register registers[] = { Register registers[] = {
......
...@@ -405,6 +405,14 @@ void ApiAccessorDescriptor::InitializePlatformSpecific( ...@@ -405,6 +405,14 @@ void ApiAccessorDescriptor::InitializePlatformSpecific(
data->InitializePlatformSpecific(arraysize(registers), registers); data->InitializePlatformSpecific(arraysize(registers), registers);
} }
void InterpreterDispatchDescriptor::InitializePlatformSpecific(
CallInterfaceDescriptorData* data) {
Register registers[] = {
kInterpreterAccumulatorRegister, kInterpreterRegisterFileRegister,
kInterpreterBytecodeOffsetRegister, kInterpreterBytecodeArrayRegister,
kInterpreterDispatchTableRegister};
data->InitializePlatformSpecific(arraysize(registers), registers);
}
void InterpreterPushArgsAndCallDescriptor::InitializePlatformSpecific( void InterpreterPushArgsAndCallDescriptor::InitializePlatformSpecific(
CallInterfaceDescriptorData* data) { CallInterfaceDescriptorData* data) {
...@@ -416,7 +424,6 @@ void InterpreterPushArgsAndCallDescriptor::InitializePlatformSpecific( ...@@ -416,7 +424,6 @@ void InterpreterPushArgsAndCallDescriptor::InitializePlatformSpecific(
data->InitializePlatformSpecific(arraysize(registers), registers); data->InitializePlatformSpecific(arraysize(registers), registers);
} }
void InterpreterPushArgsAndConstructDescriptor::InitializePlatformSpecific( void InterpreterPushArgsAndConstructDescriptor::InitializePlatformSpecific(
CallInterfaceDescriptorData* data) { CallInterfaceDescriptorData* data) {
Register registers[] = { Register registers[] = {
...@@ -428,7 +435,6 @@ void InterpreterPushArgsAndConstructDescriptor::InitializePlatformSpecific( ...@@ -428,7 +435,6 @@ void InterpreterPushArgsAndConstructDescriptor::InitializePlatformSpecific(
data->InitializePlatformSpecific(arraysize(registers), registers); data->InitializePlatformSpecific(arraysize(registers), registers);
} }
void InterpreterCEntryDescriptor::InitializePlatformSpecific( void InterpreterCEntryDescriptor::InitializePlatformSpecific(
CallInterfaceDescriptorData* data) { CallInterfaceDescriptorData* data) {
Register registers[] = { Register registers[] = {
......
...@@ -410,6 +410,14 @@ void ApiAccessorDescriptor::InitializePlatformSpecific( ...@@ -410,6 +410,14 @@ void ApiAccessorDescriptor::InitializePlatformSpecific(
data->InitializePlatformSpecific(arraysize(registers), registers); data->InitializePlatformSpecific(arraysize(registers), registers);
} }
void InterpreterDispatchDescriptor::InitializePlatformSpecific(
CallInterfaceDescriptorData* data) {
Register registers[] = {
kInterpreterAccumulatorRegister, kInterpreterRegisterFileRegister,
kInterpreterBytecodeOffsetRegister, kInterpreterBytecodeArrayRegister,
kInterpreterDispatchTableRegister};
data->InitializePlatformSpecific(arraysize(registers), registers);
}
void InterpreterPushArgsAndCallDescriptor::InitializePlatformSpecific( void InterpreterPushArgsAndCallDescriptor::InitializePlatformSpecific(
CallInterfaceDescriptorData* data) { CallInterfaceDescriptorData* data) {
...@@ -421,7 +429,6 @@ void InterpreterPushArgsAndCallDescriptor::InitializePlatformSpecific( ...@@ -421,7 +429,6 @@ void InterpreterPushArgsAndCallDescriptor::InitializePlatformSpecific(
data->InitializePlatformSpecific(arraysize(registers), registers); data->InitializePlatformSpecific(arraysize(registers), registers);
} }
void InterpreterPushArgsAndConstructDescriptor::InitializePlatformSpecific( void InterpreterPushArgsAndConstructDescriptor::InitializePlatformSpecific(
CallInterfaceDescriptorData* data) { CallInterfaceDescriptorData* data) {
Register registers[] = { Register registers[] = {
...@@ -433,7 +440,6 @@ void InterpreterPushArgsAndConstructDescriptor::InitializePlatformSpecific( ...@@ -433,7 +440,6 @@ void InterpreterPushArgsAndConstructDescriptor::InitializePlatformSpecific(
data->InitializePlatformSpecific(arraysize(registers), registers); data->InitializePlatformSpecific(arraysize(registers), registers);
} }
void InterpreterCEntryDescriptor::InitializePlatformSpecific( void InterpreterCEntryDescriptor::InitializePlatformSpecific(
CallInterfaceDescriptorData* data) { CallInterfaceDescriptorData* data) {
Register registers[] = { Register registers[] = {
......
...@@ -2,18 +2,17 @@ ...@@ -2,18 +2,17 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
#ifndef V8_UNITTESTS_COMPILER_INTERPRETER_ASSEMBLER_UNITTEST_H_ #ifndef V8_UNITTESTS_INTERPRETER_INTERPRETER_ASSEMBLER_UNITTEST_H_
#define V8_UNITTESTS_COMPILER_INTERPRETER_ASSEMBLER_UNITTEST_H_ #define V8_UNITTESTS_INTERPRETER_INTERPRETER_ASSEMBLER_UNITTEST_H_
#include "src/compiler/interpreter-assembler.h"
#include "src/compiler/linkage.h"
#include "src/compiler/machine-operator.h" #include "src/compiler/machine-operator.h"
#include "src/interpreter/interpreter-assembler.h"
#include "test/unittests/test-utils.h" #include "test/unittests/test-utils.h"
#include "testing/gmock-support.h" #include "testing/gmock-support.h"
namespace v8 { namespace v8 {
namespace internal { namespace internal {
namespace compiler { namespace interpreter {
using ::testing::Matcher; using ::testing::Matcher;
...@@ -25,24 +24,25 @@ class InterpreterAssemblerTest : public TestWithIsolateAndZone { ...@@ -25,24 +24,25 @@ class InterpreterAssemblerTest : public TestWithIsolateAndZone {
class InterpreterAssemblerForTest final : public InterpreterAssembler { class InterpreterAssemblerForTest final : public InterpreterAssembler {
public: public:
InterpreterAssemblerForTest(InterpreterAssemblerTest* test, InterpreterAssemblerForTest(InterpreterAssemblerTest* test,
interpreter::Bytecode bytecode) Bytecode bytecode)
: InterpreterAssembler(test->isolate(), test->zone(), bytecode) {} : InterpreterAssembler(test->isolate(), test->zone(), bytecode) {}
~InterpreterAssemblerForTest() override {} ~InterpreterAssemblerForTest() override {}
Matcher<Node*> IsLoad(const Matcher<LoadRepresentation>& rep_matcher, Matcher<compiler::Node*> IsLoad(
const Matcher<Node*>& base_matcher, const Matcher<compiler::LoadRepresentation>& rep_matcher,
const Matcher<Node*>& index_matcher); const Matcher<compiler::Node*>& base_matcher,
Matcher<Node*> IsStore(const Matcher<StoreRepresentation>& rep_matcher, const Matcher<compiler::Node*>& index_matcher);
const Matcher<Node*>& base_matcher, Matcher<compiler::Node*> IsStore(
const Matcher<Node*>& index_matcher, const Matcher<compiler::StoreRepresentation>& rep_matcher,
const Matcher<Node*>& value_matcher); const Matcher<compiler::Node*>& base_matcher,
const Matcher<compiler::Node*>& index_matcher,
const Matcher<compiler::Node*>& value_matcher);
Matcher<compiler::Node*> IsBytecodeOperand(int offset);
Matcher<compiler::Node*> IsBytecodeOperandSignExtended(int offset);
Matcher<compiler::Node*> IsBytecodeOperandShort(int offset);
Matcher<compiler::Node*> IsBytecodeOperandShortSignExtended(int offset);
Matcher<Node*> IsBytecodeOperand(int offset);
Matcher<Node*> IsBytecodeOperandSignExtended(int offset);
Matcher<Node*> IsBytecodeOperandShort(int offset);
Matcher<Node*> IsBytecodeOperandShortSignExtended(int offset);
using InterpreterAssembler::call_descriptor;
using InterpreterAssembler::graph; using InterpreterAssembler::graph;
private: private:
...@@ -50,8 +50,8 @@ class InterpreterAssemblerTest : public TestWithIsolateAndZone { ...@@ -50,8 +50,8 @@ class InterpreterAssemblerTest : public TestWithIsolateAndZone {
}; };
}; };
} // namespace compiler } // namespace interpreter
} // namespace internal } // namespace internal
} // namespace v8 } // namespace v8
#endif // V8_UNITTESTS_COMPILER_INTERPRETER_ASSEMBLER_UNITTEST_H_ #endif // V8_UNITTESTS_INTERPRETER_INTERPRETER_ASSEMBLER_UNITTEST_H_
...@@ -60,8 +60,6 @@ ...@@ -60,8 +60,6 @@
'compiler/instruction-selector-unittest.h', 'compiler/instruction-selector-unittest.h',
'compiler/instruction-sequence-unittest.cc', 'compiler/instruction-sequence-unittest.cc',
'compiler/instruction-sequence-unittest.h', 'compiler/instruction-sequence-unittest.h',
'compiler/interpreter-assembler-unittest.cc',
'compiler/interpreter-assembler-unittest.h',
'compiler/js-builtin-reducer-unittest.cc', 'compiler/js-builtin-reducer-unittest.cc',
'compiler/js-context-relaxation-unittest.cc', 'compiler/js-context-relaxation-unittest.cc',
'compiler/js-create-lowering-unittest.cc', 'compiler/js-create-lowering-unittest.cc',
...@@ -100,6 +98,8 @@ ...@@ -100,6 +98,8 @@
'interpreter/bytecode-array-iterator-unittest.cc', 'interpreter/bytecode-array-iterator-unittest.cc',
'interpreter/bytecode-register-allocator-unittest.cc', 'interpreter/bytecode-register-allocator-unittest.cc',
'interpreter/constant-array-builder-unittest.cc', 'interpreter/constant-array-builder-unittest.cc',
'interpreter/interpreter-assembler-unittest.cc',
'interpreter/interpreter-assembler-unittest.h',
'interpreter/register-translator-unittest.cc', 'interpreter/register-translator-unittest.cc',
'libplatform/default-platform-unittest.cc', 'libplatform/default-platform-unittest.cc',
'libplatform/task-queue-unittest.cc', 'libplatform/task-queue-unittest.cc',
......
...@@ -606,8 +606,6 @@ ...@@ -606,8 +606,6 @@
'../../src/compiler/instruction.h', '../../src/compiler/instruction.h',
'../../src/compiler/int64-lowering.cc', '../../src/compiler/int64-lowering.cc',
'../../src/compiler/int64-lowering.h', '../../src/compiler/int64-lowering.h',
'../../src/compiler/interpreter-assembler.cc',
'../../src/compiler/interpreter-assembler.h',
'../../src/compiler/js-builtin-reducer.cc', '../../src/compiler/js-builtin-reducer.cc',
'../../src/compiler/js-builtin-reducer.h', '../../src/compiler/js-builtin-reducer.h',
'../../src/compiler/js-call-reducer.cc', '../../src/compiler/js-call-reducer.cc',
...@@ -945,6 +943,8 @@ ...@@ -945,6 +943,8 @@
'../../src/interpreter/handler-table-builder.h', '../../src/interpreter/handler-table-builder.h',
'../../src/interpreter/interpreter.cc', '../../src/interpreter/interpreter.cc',
'../../src/interpreter/interpreter.h', '../../src/interpreter/interpreter.h',
'../../src/interpreter/interpreter-assembler.cc',
'../../src/interpreter/interpreter-assembler.h',
'../../src/interpreter/register-translator.cc', '../../src/interpreter/register-translator.cc',
'../../src/interpreter/register-translator.h', '../../src/interpreter/register-translator.h',
'../../src/interpreter/source-position-table.cc', '../../src/interpreter/source-position-table.cc',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment