| Index: src/x64/lithium-x64.cc
|
| ===================================================================
|
| --- src/x64/lithium-x64.cc (revision 6909)
|
| +++ src/x64/lithium-x64.cc (working copy)
|
| @@ -1933,14 +1933,13 @@
|
|
|
|
|
| LInstruction* LChunkBuilder::DoTypeof(HTypeof* instr) {
|
| - Abort("Unimplemented: %s", "DoTypeof");
|
| - return NULL;
|
| + LTypeof* result = new LTypeof(UseAtStart(instr->value()));
|
| + return MarkAsCall(DefineFixed(result, rax), instr);
|
| }
|
|
|
|
|
| LInstruction* LChunkBuilder::DoTypeofIs(HTypeofIs* instr) {
|
| - Abort("Unimplemented: %s", "DoTypeofIs");
|
| - return NULL;
|
| + return DefineSameAsFirst(new LTypeofIs(UseRegister(instr->value())));
|
| }
|
|
|
|
|
|
|