| 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 1504 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1515 LInstruction* LChunkBuilder::DoHasInstanceType(HHasInstanceType* instr) { | 1515 LInstruction* LChunkBuilder::DoHasInstanceType(HHasInstanceType* instr) { |
| 1516 ASSERT(instr->value()->representation().IsTagged()); | 1516 ASSERT(instr->value()->representation().IsTagged()); |
| 1517 LOperand* value = UseRegisterAtStart(instr->value()); | 1517 LOperand* value = UseRegisterAtStart(instr->value()); |
| 1518 | 1518 |
| 1519 return DefineAsRegister(new LHasInstanceType(value)); | 1519 return DefineAsRegister(new LHasInstanceType(value)); |
| 1520 } | 1520 } |
| 1521 | 1521 |
| 1522 | 1522 |
| 1523 LInstruction* LChunkBuilder::DoGetCachedArrayIndex( | 1523 LInstruction* LChunkBuilder::DoGetCachedArrayIndex( |
| 1524 HGetCachedArrayIndex* instr) { | 1524 HGetCachedArrayIndex* instr) { |
| 1525 Abort("Unimplemented: %s", "DoGetCachedArrayIndex"); | 1525 ASSERT(instr->value()->representation().IsTagged()); |
| 1526 return NULL; | 1526 LOperand* value = UseRegisterAtStart(instr->value()); |
| 1527 |
| 1528 return DefineAsRegister(new LGetCachedArrayIndex(value)); |
| 1527 } | 1529 } |
| 1528 | 1530 |
| 1529 | 1531 |
| 1530 LInstruction* LChunkBuilder::DoHasCachedArrayIndex( | 1532 LInstruction* LChunkBuilder::DoHasCachedArrayIndex( |
| 1531 HHasCachedArrayIndex* instr) { | 1533 HHasCachedArrayIndex* instr) { |
| 1532 ASSERT(instr->value()->representation().IsTagged()); | 1534 ASSERT(instr->value()->representation().IsTagged()); |
| 1533 LOperand* value = UseRegister(instr->value()); | 1535 LOperand* value = UseRegister(instr->value()); |
| 1534 return DefineAsRegister(new LHasCachedArrayIndex(value)); | 1536 return DefineAsRegister(new LHasCachedArrayIndex(value)); |
| 1535 } | 1537 } |
| 1536 | 1538 |
| (...skipping 497 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2034 | 2036 |
| 2035 LInstruction* LChunkBuilder::DoLeaveInlined(HLeaveInlined* instr) { | 2037 LInstruction* LChunkBuilder::DoLeaveInlined(HLeaveInlined* instr) { |
| 2036 HEnvironment* outer = current_block_->last_environment()->outer(); | 2038 HEnvironment* outer = current_block_->last_environment()->outer(); |
| 2037 current_block_->UpdateEnvironment(outer); | 2039 current_block_->UpdateEnvironment(outer); |
| 2038 return NULL; | 2040 return NULL; |
| 2039 } | 2041 } |
| 2040 | 2042 |
| 2041 } } // namespace v8::internal | 2043 } } // namespace v8::internal |
| 2042 | 2044 |
| 2043 #endif // V8_TARGET_ARCH_X64 | 2045 #endif // V8_TARGET_ARCH_X64 |
| OLD | NEW |