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