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 1513 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1524 | 1524 |
1525 LInstruction* LChunkBuilder::DoGetCachedArrayIndex( | 1525 LInstruction* LChunkBuilder::DoGetCachedArrayIndex( |
1526 HGetCachedArrayIndex* instr) { | 1526 HGetCachedArrayIndex* instr) { |
1527 Abort("Unimplemented: %s", "DoGetCachedArrayIndex"); | 1527 Abort("Unimplemented: %s", "DoGetCachedArrayIndex"); |
1528 return NULL; | 1528 return NULL; |
1529 } | 1529 } |
1530 | 1530 |
1531 | 1531 |
1532 LInstruction* LChunkBuilder::DoHasCachedArrayIndex( | 1532 LInstruction* LChunkBuilder::DoHasCachedArrayIndex( |
1533 HHasCachedArrayIndex* instr) { | 1533 HHasCachedArrayIndex* instr) { |
1534 Abort("Unimplemented: %s", "DoHasCachedArrayIndex"); | 1534 ASSERT(instr->value()->representation().IsTagged()); |
1535 return NULL; | 1535 LOperand* value = UseRegister(instr->value()); |
| 1536 return DefineAsRegister(new LHasCachedArrayIndex(value)); |
1536 } | 1537 } |
1537 | 1538 |
1538 | 1539 |
1539 LInstruction* LChunkBuilder::DoClassOfTest(HClassOfTest* instr) { | 1540 LInstruction* LChunkBuilder::DoClassOfTest(HClassOfTest* instr) { |
1540 Abort("Unimplemented: %s", "DoClassOfTest"); | 1541 Abort("Unimplemented: %s", "DoClassOfTest"); |
1541 return NULL; | 1542 return NULL; |
1542 } | 1543 } |
1543 | 1544 |
1544 | 1545 |
1545 LInstruction* LChunkBuilder::DoJSArrayLength(HJSArrayLength* instr) { | 1546 LInstruction* LChunkBuilder::DoJSArrayLength(HJSArrayLength* instr) { |
(...skipping 488 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2034 | 2035 |
2035 LInstruction* LChunkBuilder::DoLeaveInlined(HLeaveInlined* instr) { | 2036 LInstruction* LChunkBuilder::DoLeaveInlined(HLeaveInlined* instr) { |
2036 HEnvironment* outer = current_block_->last_environment()->outer(); | 2037 HEnvironment* outer = current_block_->last_environment()->outer(); |
2037 current_block_->UpdateEnvironment(outer); | 2038 current_block_->UpdateEnvironment(outer); |
2038 return NULL; | 2039 return NULL; |
2039 } | 2040 } |
2040 | 2041 |
2041 } } // namespace v8::internal | 2042 } } // namespace v8::internal |
2042 | 2043 |
2043 #endif // V8_TARGET_ARCH_X64 | 2044 #endif // V8_TARGET_ARCH_X64 |
OLD | NEW |