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 2028 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2039 return result; | 2039 return result; |
2040 } | 2040 } |
2041 | 2041 |
2042 | 2042 |
2043 LInstruction* LChunkBuilder::DoCheckSmi(HCheckSmi* instr) { | 2043 LInstruction* LChunkBuilder::DoCheckSmi(HCheckSmi* instr) { |
2044 LOperand* value = UseRegisterAtStart(instr->value()); | 2044 LOperand* value = UseRegisterAtStart(instr->value()); |
2045 return AssignEnvironment(new(zone()) LCheckSmi(value)); | 2045 return AssignEnvironment(new(zone()) LCheckSmi(value)); |
2046 } | 2046 } |
2047 | 2047 |
2048 | 2048 |
| 2049 LInstruction* LChunkBuilder::DoCheckArrayBufferNotNeutered( |
| 2050 HCheckArrayBufferNotNeutered* instr) { |
| 2051 LOperand* view = UseRegisterAtStart(instr->value()); |
| 2052 LCheckArrayBufferNotNeutered* result = |
| 2053 new (zone()) LCheckArrayBufferNotNeutered(view); |
| 2054 return AssignEnvironment(result); |
| 2055 } |
| 2056 |
| 2057 |
2049 LInstruction* LChunkBuilder::DoCheckInstanceType(HCheckInstanceType* instr) { | 2058 LInstruction* LChunkBuilder::DoCheckInstanceType(HCheckInstanceType* instr) { |
2050 LOperand* value = UseRegisterAtStart(instr->value()); | 2059 LOperand* value = UseRegisterAtStart(instr->value()); |
2051 LInstruction* result = new(zone()) LCheckInstanceType(value); | 2060 LInstruction* result = new(zone()) LCheckInstanceType(value); |
2052 return AssignEnvironment(result); | 2061 return AssignEnvironment(result); |
2053 } | 2062 } |
2054 | 2063 |
2055 | 2064 |
2056 LInstruction* LChunkBuilder::DoCheckValue(HCheckValue* instr) { | 2065 LInstruction* LChunkBuilder::DoCheckValue(HCheckValue* instr) { |
2057 LOperand* value = UseRegisterAtStart(instr->value()); | 2066 LOperand* value = UseRegisterAtStart(instr->value()); |
2058 return AssignEnvironment(new(zone()) LCheckValue(value)); | 2067 return AssignEnvironment(new(zone()) LCheckValue(value)); |
(...skipping 596 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2655 LInstruction* LChunkBuilder::DoAllocateBlockContext( | 2664 LInstruction* LChunkBuilder::DoAllocateBlockContext( |
2656 HAllocateBlockContext* instr) { | 2665 HAllocateBlockContext* instr) { |
2657 LOperand* context = UseFixed(instr->context(), cp); | 2666 LOperand* context = UseFixed(instr->context(), cp); |
2658 LOperand* function = UseRegisterAtStart(instr->function()); | 2667 LOperand* function = UseRegisterAtStart(instr->function()); |
2659 LAllocateBlockContext* result = | 2668 LAllocateBlockContext* result = |
2660 new(zone()) LAllocateBlockContext(context, function); | 2669 new(zone()) LAllocateBlockContext(context, function); |
2661 return MarkAsCall(DefineFixed(result, cp), instr); | 2670 return MarkAsCall(DefineFixed(result, cp), instr); |
2662 } | 2671 } |
2663 | 2672 |
2664 } } // namespace v8::internal | 2673 } } // namespace v8::internal |
OLD | NEW |