Index: src/x64/lithium-x64.cc |
=================================================================== |
--- src/x64/lithium-x64.cc (revision 6713) |
+++ src/x64/lithium-x64.cc (working copy) |
@@ -1146,8 +1146,7 @@ |
LInstruction* LChunkBuilder::DoContext(HContext* instr) { |
- Abort("Unimplemented: DoContext"); |
- return NULL; |
+ return DefineAsRegister(new LContext); |
} |
@@ -1193,8 +1192,8 @@ |
LInstruction* LChunkBuilder::DoCallGlobal(HCallGlobal* instr) { |
- Abort("Unimplemented: %s", "DoCallGlobal"); |
- return NULL; |
+ argument_count_ -= instr->argument_count(); |
+ return MarkAsCall(DefineFixed(new LCallGlobal, rax), instr); |
} |
@@ -1633,8 +1632,8 @@ |
LInstruction* LChunkBuilder::DoLoadFunctionPrototype( |
HLoadFunctionPrototype* instr) { |
- Abort("Unimplemented: %s", "DoLoadFunctionPrototype"); |
- return NULL; |
+ return AssignEnvironment(DefineAsRegister( |
+ new LLoadFunctionPrototype(UseRegister(instr->function())))); |
} |