OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include <sstream> | 5 #include <sstream> |
6 | 6 |
7 #include "src/v8.h" | 7 #include "src/v8.h" |
8 | 8 |
9 #include "src/arm/lithium-codegen-arm.h" | 9 #include "src/arm/lithium-codegen-arm.h" |
10 #include "src/hydrogen-osr.h" | 10 #include "src/hydrogen-osr.h" |
(...skipping 1837 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1848 LInstruction* LChunkBuilder::DoMapEnumLength(HMapEnumLength* instr) { | 1848 LInstruction* LChunkBuilder::DoMapEnumLength(HMapEnumLength* instr) { |
1849 LOperand* map = UseRegisterAtStart(instr->value()); | 1849 LOperand* map = UseRegisterAtStart(instr->value()); |
1850 return DefineAsRegister(new(zone()) LMapEnumLength(map)); | 1850 return DefineAsRegister(new(zone()) LMapEnumLength(map)); |
1851 } | 1851 } |
1852 | 1852 |
1853 | 1853 |
1854 LInstruction* LChunkBuilder::DoDateField(HDateField* instr) { | 1854 LInstruction* LChunkBuilder::DoDateField(HDateField* instr) { |
1855 LOperand* object = UseFixed(instr->value(), r0); | 1855 LOperand* object = UseFixed(instr->value(), r0); |
1856 LDateField* result = | 1856 LDateField* result = |
1857 new(zone()) LDateField(object, FixedTemp(r1), instr->index()); | 1857 new(zone()) LDateField(object, FixedTemp(r1), instr->index()); |
1858 return MarkAsCall(DefineFixed(result, r0), instr, CAN_DEOPTIMIZE_EAGERLY); | 1858 return MarkAsCall(DefineFixed(result, r0), instr, CANNOT_DEOPTIMIZE_EAGERLY); |
1859 } | 1859 } |
1860 | 1860 |
1861 | 1861 |
1862 LInstruction* LChunkBuilder::DoSeqStringGetChar(HSeqStringGetChar* instr) { | 1862 LInstruction* LChunkBuilder::DoSeqStringGetChar(HSeqStringGetChar* instr) { |
1863 LOperand* string = UseRegisterAtStart(instr->string()); | 1863 LOperand* string = UseRegisterAtStart(instr->string()); |
1864 LOperand* index = UseRegisterOrConstantAtStart(instr->index()); | 1864 LOperand* index = UseRegisterOrConstantAtStart(instr->index()); |
1865 return DefineAsRegister(new(zone()) LSeqStringGetChar(string, index)); | 1865 return DefineAsRegister(new(zone()) LSeqStringGetChar(string, index)); |
1866 } | 1866 } |
1867 | 1867 |
1868 | 1868 |
(...skipping 798 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2667 HAllocateBlockContext* instr) { | 2667 HAllocateBlockContext* instr) { |
2668 LOperand* context = UseFixed(instr->context(), cp); | 2668 LOperand* context = UseFixed(instr->context(), cp); |
2669 LOperand* function = UseRegisterAtStart(instr->function()); | 2669 LOperand* function = UseRegisterAtStart(instr->function()); |
2670 LAllocateBlockContext* result = | 2670 LAllocateBlockContext* result = |
2671 new(zone()) LAllocateBlockContext(context, function); | 2671 new(zone()) LAllocateBlockContext(context, function); |
2672 return MarkAsCall(DefineFixed(result, cp), instr); | 2672 return MarkAsCall(DefineFixed(result, cp), instr); |
2673 } | 2673 } |
2674 | 2674 |
2675 } // namespace internal | 2675 } // namespace internal |
2676 } // namespace v8 | 2676 } // namespace v8 |
OLD | NEW |