| OLD | NEW |
| 1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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/hydrogen-osr.h" | 9 #include "src/hydrogen-osr.h" |
| 10 #include "src/lithium-inl.h" | 10 #include "src/lithium-inl.h" |
| (...skipping 1988 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1999 return result; | 1999 return result; |
| 2000 } | 2000 } |
| 2001 | 2001 |
| 2002 | 2002 |
| 2003 LInstruction* LChunkBuilder::DoCheckSmi(HCheckSmi* instr) { | 2003 LInstruction* LChunkBuilder::DoCheckSmi(HCheckSmi* instr) { |
| 2004 LOperand* value = UseRegisterAtStart(instr->value()); | 2004 LOperand* value = UseRegisterAtStart(instr->value()); |
| 2005 return AssignEnvironment(new (zone()) LCheckSmi(value)); | 2005 return AssignEnvironment(new (zone()) LCheckSmi(value)); |
| 2006 } | 2006 } |
| 2007 | 2007 |
| 2008 | 2008 |
| 2009 LInstruction* LChunkBuilder::DoCheckArrayBufferNotNeutered( |
| 2010 HCheckArrayBufferNotNeutered* instr) { |
| 2011 LOperand* view = UseRegisterAtStart(instr->value()); |
| 2012 LCheckArrayBufferNotNeutered* result = |
| 2013 new (zone()) LCheckArrayBufferNotNeutered(view); |
| 2014 return AssignEnvironment(result); |
| 2015 } |
| 2016 |
| 2017 |
| 2009 LInstruction* LChunkBuilder::DoCheckInstanceType(HCheckInstanceType* instr) { | 2018 LInstruction* LChunkBuilder::DoCheckInstanceType(HCheckInstanceType* instr) { |
| 2010 LOperand* value = UseRegisterAtStart(instr->value()); | 2019 LOperand* value = UseRegisterAtStart(instr->value()); |
| 2011 LInstruction* result = new (zone()) LCheckInstanceType(value); | 2020 LInstruction* result = new (zone()) LCheckInstanceType(value); |
| 2012 return AssignEnvironment(result); | 2021 return AssignEnvironment(result); |
| 2013 } | 2022 } |
| 2014 | 2023 |
| 2015 | 2024 |
| 2016 LInstruction* LChunkBuilder::DoCheckValue(HCheckValue* instr) { | 2025 LInstruction* LChunkBuilder::DoCheckValue(HCheckValue* instr) { |
| 2017 LOperand* value = UseRegisterAtStart(instr->value()); | 2026 LOperand* value = UseRegisterAtStart(instr->value()); |
| 2018 return AssignEnvironment(new (zone()) LCheckValue(value)); | 2027 return AssignEnvironment(new (zone()) LCheckValue(value)); |
| (...skipping 585 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2604 LInstruction* LChunkBuilder::DoAllocateBlockContext( | 2613 LInstruction* LChunkBuilder::DoAllocateBlockContext( |
| 2605 HAllocateBlockContext* instr) { | 2614 HAllocateBlockContext* instr) { |
| 2606 LOperand* context = UseFixed(instr->context(), cp); | 2615 LOperand* context = UseFixed(instr->context(), cp); |
| 2607 LOperand* function = UseRegisterAtStart(instr->function()); | 2616 LOperand* function = UseRegisterAtStart(instr->function()); |
| 2608 LAllocateBlockContext* result = | 2617 LAllocateBlockContext* result = |
| 2609 new (zone()) LAllocateBlockContext(context, function); | 2618 new (zone()) LAllocateBlockContext(context, function); |
| 2610 return MarkAsCall(DefineFixed(result, cp), instr); | 2619 return MarkAsCall(DefineFixed(result, cp), instr); |
| 2611 } | 2620 } |
| 2612 } | 2621 } |
| 2613 } // namespace v8::internal | 2622 } // namespace v8::internal |
| OLD | NEW |