| OLD | NEW |
| 1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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/arm64/lithium-codegen-arm64.h" | 9 #include "src/arm64/lithium-codegen-arm64.h" |
| 10 #include "src/hydrogen-osr.h" | 10 #include "src/hydrogen-osr.h" |
| (...skipping 1203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1214 return NULL; | 1214 return NULL; |
| 1215 } | 1215 } |
| 1216 | 1216 |
| 1217 | 1217 |
| 1218 LInstruction* LChunkBuilder::DoCheckValue(HCheckValue* instr) { | 1218 LInstruction* LChunkBuilder::DoCheckValue(HCheckValue* instr) { |
| 1219 LOperand* value = UseRegisterAtStart(instr->value()); | 1219 LOperand* value = UseRegisterAtStart(instr->value()); |
| 1220 return AssignEnvironment(new(zone()) LCheckValue(value)); | 1220 return AssignEnvironment(new(zone()) LCheckValue(value)); |
| 1221 } | 1221 } |
| 1222 | 1222 |
| 1223 | 1223 |
| 1224 LInstruction* LChunkBuilder::DoCheckArrayBufferNotNeutered( |
| 1225 HCheckArrayBufferNotNeutered* instr) { |
| 1226 LOperand* view = UseRegisterAtStart(instr->value()); |
| 1227 LCheckArrayBufferNotNeutered* result = |
| 1228 new (zone()) LCheckArrayBufferNotNeutered(view); |
| 1229 return AssignEnvironment(result); |
| 1230 } |
| 1231 |
| 1232 |
| 1224 LInstruction* LChunkBuilder::DoCheckInstanceType(HCheckInstanceType* instr) { | 1233 LInstruction* LChunkBuilder::DoCheckInstanceType(HCheckInstanceType* instr) { |
| 1225 LOperand* value = UseRegisterAtStart(instr->value()); | 1234 LOperand* value = UseRegisterAtStart(instr->value()); |
| 1226 LOperand* temp = TempRegister(); | 1235 LOperand* temp = TempRegister(); |
| 1227 LInstruction* result = new(zone()) LCheckInstanceType(value, temp); | 1236 LInstruction* result = new(zone()) LCheckInstanceType(value, temp); |
| 1228 return AssignEnvironment(result); | 1237 return AssignEnvironment(result); |
| 1229 } | 1238 } |
| 1230 | 1239 |
| 1231 | 1240 |
| 1232 LInstruction* LChunkBuilder::DoCheckMaps(HCheckMaps* instr) { | 1241 LInstruction* LChunkBuilder::DoCheckMaps(HCheckMaps* instr) { |
| 1233 if (instr->IsStabilityCheck()) return new(zone()) LCheckMaps; | 1242 if (instr->IsStabilityCheck()) return new(zone()) LCheckMaps; |
| (...skipping 1518 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2752 HAllocateBlockContext* instr) { | 2761 HAllocateBlockContext* instr) { |
| 2753 LOperand* context = UseFixed(instr->context(), cp); | 2762 LOperand* context = UseFixed(instr->context(), cp); |
| 2754 LOperand* function = UseRegisterAtStart(instr->function()); | 2763 LOperand* function = UseRegisterAtStart(instr->function()); |
| 2755 LAllocateBlockContext* result = | 2764 LAllocateBlockContext* result = |
| 2756 new(zone()) LAllocateBlockContext(context, function); | 2765 new(zone()) LAllocateBlockContext(context, function); |
| 2757 return MarkAsCall(DefineFixed(result, cp), instr); | 2766 return MarkAsCall(DefineFixed(result, cp), instr); |
| 2758 } | 2767 } |
| 2759 | 2768 |
| 2760 | 2769 |
| 2761 } } // namespace v8::internal | 2770 } } // namespace v8::internal |
| OLD | NEW |