| 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 1530 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1541 LInstruction* LChunkBuilder::DoHasInstanceType(HHasInstanceType* instr) { | 1541 LInstruction* LChunkBuilder::DoHasInstanceType(HHasInstanceType* instr) { |
| 1542 ASSERT(instr->value()->representation().IsTagged()); | 1542 ASSERT(instr->value()->representation().IsTagged()); |
| 1543 LOperand* value = UseRegisterAtStart(instr->value()); | 1543 LOperand* value = UseRegisterAtStart(instr->value()); |
| 1544 | 1544 |
| 1545 return DefineAsRegister(new LHasInstanceType(value)); | 1545 return DefineAsRegister(new LHasInstanceType(value)); |
| 1546 } | 1546 } |
| 1547 | 1547 |
| 1548 | 1548 |
| 1549 LInstruction* LChunkBuilder::DoGetCachedArrayIndex( | 1549 LInstruction* LChunkBuilder::DoGetCachedArrayIndex( |
| 1550 HGetCachedArrayIndex* instr) { | 1550 HGetCachedArrayIndex* instr) { |
| 1551 Abort("Unimplemented: %s", "DoGetCachedArrayIndex"); | 1551 ASSERT(instr->value()->representation().IsTagged()); |
| 1552 return NULL; | 1552 LOperand* value = UseRegisterAtStart(instr->value()); |
| 1553 |
| 1554 return DefineAsRegister(new LGetCachedArrayIndex(value)); |
| 1553 } | 1555 } |
| 1554 | 1556 |
| 1555 | 1557 |
| 1556 LInstruction* LChunkBuilder::DoHasCachedArrayIndex( | 1558 LInstruction* LChunkBuilder::DoHasCachedArrayIndex( |
| 1557 HHasCachedArrayIndex* instr) { | 1559 HHasCachedArrayIndex* instr) { |
| 1558 ASSERT(instr->value()->representation().IsTagged()); | 1560 ASSERT(instr->value()->representation().IsTagged()); |
| 1559 LOperand* value = UseRegister(instr->value()); | 1561 LOperand* value = UseRegister(instr->value()); |
| 1560 | 1562 |
| 1561 return DefineAsRegister(new LHasCachedArrayIndex(value)); | 1563 return DefineAsRegister(new LHasCachedArrayIndex(value)); |
| 1562 } | 1564 } |
| (...skipping 523 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2086 LInstruction* LChunkBuilder::DoLeaveInlined(HLeaveInlined* instr) { | 2088 LInstruction* LChunkBuilder::DoLeaveInlined(HLeaveInlined* instr) { |
| 2087 HEnvironment* outer = current_block_->last_environment()->outer(); | 2089 HEnvironment* outer = current_block_->last_environment()->outer(); |
| 2088 current_block_->UpdateEnvironment(outer); | 2090 current_block_->UpdateEnvironment(outer); |
| 2089 return NULL; | 2091 return NULL; |
| 2090 } | 2092 } |
| 2091 | 2093 |
| 2092 | 2094 |
| 2093 } } // namespace v8::internal | 2095 } } // namespace v8::internal |
| 2094 | 2096 |
| 2095 #endif // V8_TARGET_ARCH_IA32 | 2097 #endif // V8_TARGET_ARCH_IA32 |
| OLD | NEW |