Index: src/x64/lithium-codegen-x64.cc |
diff --git a/src/x64/lithium-codegen-x64.cc b/src/x64/lithium-codegen-x64.cc |
index 81976a6b53f9d14cb081bf16d86545a3e9495d45..86ce0be941f3fe1c5a6a89cf60175d3388958431 100644 |
--- a/src/x64/lithium-codegen-x64.cc |
+++ b/src/x64/lithium-codegen-x64.cc |
@@ -3948,6 +3948,14 @@ void LCodeGen::DoCallRuntime(LCallRuntime* instr) { |
} |
+void LCodeGen::DoSubAllocatedObject(LSubAllocatedObject* instr) { |
+ Register result = ToRegister(instr->result()); |
+ Register base = ToRegister(instr->base_object()); |
+ __ lea(result, |
+ Operand(base, instr->offset())); |
Hannes Payer (out of office)
2013/03/13 08:48:39
fits in one line?
mvstanton
2013/03/13 10:14:40
Done.
|
+} |
+ |
+ |
void LCodeGen::DoStoreNamedField(LStoreNamedField* instr) { |
Register object = ToRegister(instr->object()); |
Register value = ToRegister(instr->value()); |