| Index: src/x64/lithium-codegen-x64.cc
|
| ===================================================================
|
| --- src/x64/lithium-codegen-x64.cc (revision 6912)
|
| +++ src/x64/lithium-codegen-x64.cc (working copy)
|
| @@ -2205,6 +2205,15 @@
|
| }
|
|
|
|
|
| +void LCodeGen::DoOuterContext(LOuterContext* instr) {
|
| + Register context = ToRegister(instr->context());
|
| + Register result = ToRegister(instr->result());
|
| + __ movq(result,
|
| + Operand(context, Context::SlotOffset(Context::CLOSURE_INDEX)));
|
| + __ movq(result, FieldOperand(result, JSFunction::kContextOffset));
|
| +}
|
| +
|
| +
|
| void LCodeGen::DoGlobalObject(LGlobalObject* instr) {
|
| Register result = ToRegister(instr->result());
|
| __ movq(result, GlobalObjectOperand());
|
|
|