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 #if V8_TARGET_ARCH_MIPS | 9 #if V8_TARGET_ARCH_MIPS |
10 | 10 |
(...skipping 1975 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1986 return result; | 1986 return result; |
1987 } | 1987 } |
1988 | 1988 |
1989 | 1989 |
1990 LInstruction* LChunkBuilder::DoCheckSmi(HCheckSmi* instr) { | 1990 LInstruction* LChunkBuilder::DoCheckSmi(HCheckSmi* instr) { |
1991 LOperand* value = UseRegisterAtStart(instr->value()); | 1991 LOperand* value = UseRegisterAtStart(instr->value()); |
1992 return AssignEnvironment(new(zone()) LCheckSmi(value)); | 1992 return AssignEnvironment(new(zone()) LCheckSmi(value)); |
1993 } | 1993 } |
1994 | 1994 |
1995 | 1995 |
| 1996 LInstruction* LChunkBuilder::DoCheckArrayBufferNotNeutered( |
| 1997 HCheckArrayBufferNotNeutered* instr) { |
| 1998 LOperand* view = UseRegisterAtStart(instr->value()); |
| 1999 LCheckArrayBufferNotNeutered* result = |
| 2000 new (zone()) LCheckArrayBufferNotNeutered(view); |
| 2001 return AssignEnvironment(result); |
| 2002 } |
| 2003 |
| 2004 |
1996 LInstruction* LChunkBuilder::DoCheckInstanceType(HCheckInstanceType* instr) { | 2005 LInstruction* LChunkBuilder::DoCheckInstanceType(HCheckInstanceType* instr) { |
1997 LOperand* value = UseRegisterAtStart(instr->value()); | 2006 LOperand* value = UseRegisterAtStart(instr->value()); |
1998 LInstruction* result = new(zone()) LCheckInstanceType(value); | 2007 LInstruction* result = new(zone()) LCheckInstanceType(value); |
1999 return AssignEnvironment(result); | 2008 return AssignEnvironment(result); |
2000 } | 2009 } |
2001 | 2010 |
2002 | 2011 |
2003 LInstruction* LChunkBuilder::DoCheckValue(HCheckValue* instr) { | 2012 LInstruction* LChunkBuilder::DoCheckValue(HCheckValue* instr) { |
2004 LOperand* value = UseRegisterAtStart(instr->value()); | 2013 LOperand* value = UseRegisterAtStart(instr->value()); |
2005 return AssignEnvironment(new(zone()) LCheckValue(value)); | 2014 return AssignEnvironment(new(zone()) LCheckValue(value)); |
(...skipping 599 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2605 LOperand* context = UseFixed(instr->context(), cp); | 2614 LOperand* context = UseFixed(instr->context(), cp); |
2606 LOperand* function = UseRegisterAtStart(instr->function()); | 2615 LOperand* function = UseRegisterAtStart(instr->function()); |
2607 LAllocateBlockContext* result = | 2616 LAllocateBlockContext* result = |
2608 new(zone()) LAllocateBlockContext(context, function); | 2617 new(zone()) LAllocateBlockContext(context, function); |
2609 return MarkAsCall(DefineFixed(result, cp), instr); | 2618 return MarkAsCall(DefineFixed(result, cp), instr); |
2610 } | 2619 } |
2611 | 2620 |
2612 } } // namespace v8::internal | 2621 } } // namespace v8::internal |
2613 | 2622 |
2614 #endif // V8_TARGET_ARCH_MIPS | 2623 #endif // V8_TARGET_ARCH_MIPS |
OLD | NEW |