| 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 1523 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1534 LInstruction* LChunkBuilder::DoHasInstanceType(HHasInstanceType* instr) { | 1534 LInstruction* LChunkBuilder::DoHasInstanceType(HHasInstanceType* instr) { |
| 1535 ASSERT(instr->value()->representation().IsTagged()); | 1535 ASSERT(instr->value()->representation().IsTagged()); |
| 1536 LOperand* value = UseRegisterAtStart(instr->value()); | 1536 LOperand* value = UseRegisterAtStart(instr->value()); |
| 1537 | 1537 |
| 1538 return DefineAsRegister(new LHasInstanceType(value)); | 1538 return DefineAsRegister(new LHasInstanceType(value)); |
| 1539 } | 1539 } |
| 1540 | 1540 |
| 1541 | 1541 |
| 1542 LInstruction* LChunkBuilder::DoGetCachedArrayIndex( | 1542 LInstruction* LChunkBuilder::DoGetCachedArrayIndex( |
| 1543 HGetCachedArrayIndex* instr) { | 1543 HGetCachedArrayIndex* instr) { |
| 1544 Abort("Unimplemented: %s", "DoGetCachedArrayIndex"); | 1544 ASSERT(instr->value()->representation().IsTagged()); |
| 1545 return NULL; | 1545 LOperand* value = UseRegisterAtStart(instr->value()); |
| 1546 |
| 1547 return DefineAsRegister(new LGetCachedArrayIndex(value)); |
| 1546 } | 1548 } |
| 1547 | 1549 |
| 1548 | 1550 |
| 1549 LInstruction* LChunkBuilder::DoHasCachedArrayIndex( | 1551 LInstruction* LChunkBuilder::DoHasCachedArrayIndex( |
| 1550 HHasCachedArrayIndex* instr) { | 1552 HHasCachedArrayIndex* instr) { |
| 1551 ASSERT(instr->value()->representation().IsTagged()); | 1553 ASSERT(instr->value()->representation().IsTagged()); |
| 1552 LOperand* value = UseRegister(instr->value()); | 1554 LOperand* value = UseRegister(instr->value()); |
| 1553 | 1555 |
| 1554 return DefineAsRegister(new LHasCachedArrayIndex(value)); | 1556 return DefineAsRegister(new LHasCachedArrayIndex(value)); |
| 1555 } | 1557 } |
| (...skipping 524 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2080 LInstruction* LChunkBuilder::DoLeaveInlined(HLeaveInlined* instr) { | 2082 LInstruction* LChunkBuilder::DoLeaveInlined(HLeaveInlined* instr) { |
| 2081 HEnvironment* outer = current_block_->last_environment()->outer(); | 2083 HEnvironment* outer = current_block_->last_environment()->outer(); |
| 2082 current_block_->UpdateEnvironment(outer); | 2084 current_block_->UpdateEnvironment(outer); |
| 2083 return NULL; | 2085 return NULL; |
| 2084 } | 2086 } |
| 2085 | 2087 |
| 2086 | 2088 |
| 2087 } } // namespace v8::internal | 2089 } } // namespace v8::internal |
| 2088 | 2090 |
| 2089 #endif // V8_TARGET_ARCH_IA32 | 2091 #endif // V8_TARGET_ARCH_IA32 |
| OLD | NEW |