OLD | NEW |
---|---|
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 1694 matching lines...) Loading... | |
1705 LOperand* string = UseRegister(instr->string()); | 1705 LOperand* string = UseRegister(instr->string()); |
1706 LOperand* index = UseRegister(instr->index()); | 1706 LOperand* index = UseRegister(instr->index()); |
1707 ASSERT(ecx.is_byte_register()); | 1707 ASSERT(ecx.is_byte_register()); |
1708 LOperand* value = UseFixed(instr->value(), ecx); | 1708 LOperand* value = UseFixed(instr->value(), ecx); |
1709 LSeqStringSetChar* result = | 1709 LSeqStringSetChar* result = |
1710 new(zone()) LSeqStringSetChar(instr->encoding(), string, index, value); | 1710 new(zone()) LSeqStringSetChar(instr->encoding(), string, index, value); |
1711 return DefineSameAsFirst(result); | 1711 return DefineSameAsFirst(result); |
1712 } | 1712 } |
1713 | 1713 |
1714 | 1714 |
1715 LInstruction* LChunkBuilder::DoNumericConstraint(HNumericConstraint* instr) { | |
1716 UNREACHABLE(); | |
Jakob Kummerow
2013/02/13 13:20:56
In light of our most recent discussions, we are in
| |
1717 return NULL; | |
1718 } | |
1719 | |
1720 | |
1715 LInstruction* LChunkBuilder::DoBoundsCheck(HBoundsCheck* instr) { | 1721 LInstruction* LChunkBuilder::DoBoundsCheck(HBoundsCheck* instr) { |
1716 return AssignEnvironment(new(zone()) LBoundsCheck( | 1722 return AssignEnvironment(new(zone()) LBoundsCheck( |
1717 UseRegisterOrConstantAtStart(instr->index()), | 1723 UseRegisterOrConstantAtStart(instr->index()), |
1718 UseAtStart(instr->length()))); | 1724 UseAtStart(instr->length()))); |
1719 } | 1725 } |
1720 | 1726 |
1721 | 1727 |
1722 LInstruction* LChunkBuilder::DoAbnormalExit(HAbnormalExit* instr) { | 1728 LInstruction* LChunkBuilder::DoAbnormalExit(HAbnormalExit* instr) { |
1723 // The control instruction marking the end of a block that completed | 1729 // The control instruction marking the end of a block that completed |
1724 // abruptly (e.g., threw an exception). There is nothing specific to do. | 1730 // abruptly (e.g., threw an exception). There is nothing specific to do. |
(...skipping 821 matching lines...) Loading... | |
2546 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { | 2552 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { |
2547 LOperand* object = UseRegister(instr->object()); | 2553 LOperand* object = UseRegister(instr->object()); |
2548 LOperand* index = UseTempRegister(instr->index()); | 2554 LOperand* index = UseTempRegister(instr->index()); |
2549 return DefineSameAsFirst(new(zone()) LLoadFieldByIndex(object, index)); | 2555 return DefineSameAsFirst(new(zone()) LLoadFieldByIndex(object, index)); |
2550 } | 2556 } |
2551 | 2557 |
2552 | 2558 |
2553 } } // namespace v8::internal | 2559 } } // namespace v8::internal |
2554 | 2560 |
2555 #endif // V8_TARGET_ARCH_IA32 | 2561 #endif // V8_TARGET_ARCH_IA32 |
OLD | NEW |