| OLD | NEW |
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 the V8 project authors. All rights reserved. |
| 2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
| 3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
| 4 // met: | 4 // met: |
| 5 // | 5 // |
| 6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
| 7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
| 8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
| 9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
| 10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
| (...skipping 1037 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1048 return new LPushArgument(argument); | 1048 return new LPushArgument(argument); |
| 1049 } | 1049 } |
| 1050 | 1050 |
| 1051 | 1051 |
| 1052 LInstruction* LChunkBuilder::DoGlobalObject(HGlobalObject* instr) { | 1052 LInstruction* LChunkBuilder::DoGlobalObject(HGlobalObject* instr) { |
| 1053 return DefineAsRegister(new LGlobalObject); | 1053 return DefineAsRegister(new LGlobalObject); |
| 1054 } | 1054 } |
| 1055 | 1055 |
| 1056 | 1056 |
| 1057 LInstruction* LChunkBuilder::DoGlobalReceiver(HGlobalReceiver* instr) { | 1057 LInstruction* LChunkBuilder::DoGlobalReceiver(HGlobalReceiver* instr) { |
| 1058 Abort("Unimplemented: %s", "DoGlobalReceiver"); | 1058 return DefineAsRegister(new LGlobalReceiver); |
| 1059 return NULL; | |
| 1060 } | 1059 } |
| 1061 | 1060 |
| 1062 | 1061 |
| 1063 LInstruction* LChunkBuilder::DoCallConstantFunction( | 1062 LInstruction* LChunkBuilder::DoCallConstantFunction( |
| 1064 HCallConstantFunction* instr) { | 1063 HCallConstantFunction* instr) { |
| 1065 Abort("Unimplemented: %s", "DoCallConstantFunction"); | 1064 Abort("Unimplemented: %s", "DoCallConstantFunction"); |
| 1066 return NULL; | 1065 return NULL; |
| 1067 } | 1066 } |
| 1068 | 1067 |
| 1069 | 1068 |
| (...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1415 } | 1414 } |
| 1416 | 1415 |
| 1417 | 1416 |
| 1418 LInstruction* LChunkBuilder::DoCheckSmi(HCheckSmi* instr) { | 1417 LInstruction* LChunkBuilder::DoCheckSmi(HCheckSmi* instr) { |
| 1419 LOperand* value = UseRegisterAtStart(instr->value()); | 1418 LOperand* value = UseRegisterAtStart(instr->value()); |
| 1420 return AssignEnvironment(new LCheckSmi(value, not_zero)); | 1419 return AssignEnvironment(new LCheckSmi(value, not_zero)); |
| 1421 } | 1420 } |
| 1422 | 1421 |
| 1423 | 1422 |
| 1424 LInstruction* LChunkBuilder::DoCheckFunction(HCheckFunction* instr) { | 1423 LInstruction* LChunkBuilder::DoCheckFunction(HCheckFunction* instr) { |
| 1425 Abort("Unimplemented: %s", "DoCheckFunction"); | 1424 LOperand* value = UseRegisterAtStart(instr->value()); |
| 1426 return NULL; | 1425 return AssignEnvironment(new LCheckFunction(value)); |
| 1427 } | 1426 } |
| 1428 | 1427 |
| 1429 | 1428 |
| 1430 LInstruction* LChunkBuilder::DoCheckMap(HCheckMap* instr) { | 1429 LInstruction* LChunkBuilder::DoCheckMap(HCheckMap* instr) { |
| 1431 LOperand* value = UseRegisterAtStart(instr->value()); | 1430 LOperand* value = UseRegisterAtStart(instr->value()); |
| 1432 LCheckMap* result = new LCheckMap(value); | 1431 LCheckMap* result = new LCheckMap(value); |
| 1433 return AssignEnvironment(result); | 1432 return AssignEnvironment(result); |
| 1434 } | 1433 } |
| 1435 | 1434 |
| 1436 | 1435 |
| (...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1693 | 1692 |
| 1694 | 1693 |
| 1695 LInstruction* LChunkBuilder::DoLeaveInlined(HLeaveInlined* instr) { | 1694 LInstruction* LChunkBuilder::DoLeaveInlined(HLeaveInlined* instr) { |
| 1696 Abort("Unimplemented: %s", "DoLeaveInlined"); | 1695 Abort("Unimplemented: %s", "DoLeaveInlined"); |
| 1697 return NULL; | 1696 return NULL; |
| 1698 } | 1697 } |
| 1699 | 1698 |
| 1700 } } // namespace v8::internal | 1699 } } // namespace v8::internal |
| 1701 | 1700 |
| 1702 #endif // V8_TARGET_ARCH_X64 | 1701 #endif // V8_TARGET_ARCH_X64 |
| OLD | NEW |