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 1500 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1511 ASSERT(instr->value()->representation().IsTagged()); | 1511 ASSERT(instr->value()->representation().IsTagged()); |
1512 LOperand* value = UseRegisterAtStart(instr->value()); | 1512 LOperand* value = UseRegisterAtStart(instr->value()); |
1513 | 1513 |
1514 return DefineAsRegister(new LHasInstanceType(value)); | 1514 return DefineAsRegister(new LHasInstanceType(value)); |
1515 } | 1515 } |
1516 | 1516 |
1517 | 1517 |
1518 LInstruction* LChunkBuilder::DoGetCachedArrayIndex( | 1518 LInstruction* LChunkBuilder::DoGetCachedArrayIndex( |
1519 HGetCachedArrayIndex* instr) { | 1519 HGetCachedArrayIndex* instr) { |
1520 ASSERT(instr->value()->representation().IsTagged()); | 1520 ASSERT(instr->value()->representation().IsTagged()); |
1521 LOperand* value = UseRegister(instr->value()); | 1521 LOperand* value = UseRegisterAtStart(instr->value()); |
1522 | 1522 |
1523 return DefineAsRegister(new LGetCachedArrayIndex(value)); | 1523 return DefineAsRegister(new LGetCachedArrayIndex(value)); |
1524 } | 1524 } |
1525 | 1525 |
1526 | 1526 |
1527 LInstruction* LChunkBuilder::DoHasCachedArrayIndex( | 1527 LInstruction* LChunkBuilder::DoHasCachedArrayIndex( |
1528 HHasCachedArrayIndex* instr) { | 1528 HHasCachedArrayIndex* instr) { |
1529 ASSERT(instr->value()->representation().IsTagged()); | 1529 ASSERT(instr->value()->representation().IsTagged()); |
1530 LOperand* value = UseRegister(instr->value()); | 1530 LOperand* value = UseRegister(instr->value()); |
1531 | 1531 |
(...skipping 497 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2029 | 2029 |
2030 | 2030 |
2031 LInstruction* LChunkBuilder::DoLeaveInlined(HLeaveInlined* instr) { | 2031 LInstruction* LChunkBuilder::DoLeaveInlined(HLeaveInlined* instr) { |
2032 HEnvironment* outer = current_block_->last_environment()->outer(); | 2032 HEnvironment* outer = current_block_->last_environment()->outer(); |
2033 current_block_->UpdateEnvironment(outer); | 2033 current_block_->UpdateEnvironment(outer); |
2034 return NULL; | 2034 return NULL; |
2035 } | 2035 } |
2036 | 2036 |
2037 | 2037 |
2038 } } // namespace v8::internal | 2038 } } // namespace v8::internal |
OLD | NEW |