Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(134)

Side by Side Diff: src/mips64/lithium-mips64.cc

Issue 1108313003: Add HArrayBufferNotNeutered instruction (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: updates Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_MIPS64 9 #if V8_TARGET_ARCH_MIPS64
10 10
(...skipping 1973 matching lines...) Expand 10 before | Expand all | Expand 10 after
1984 return result; 1984 return result;
1985 } 1985 }
1986 1986
1987 1987
1988 LInstruction* LChunkBuilder::DoCheckSmi(HCheckSmi* instr) { 1988 LInstruction* LChunkBuilder::DoCheckSmi(HCheckSmi* instr) {
1989 LOperand* value = UseRegisterAtStart(instr->value()); 1989 LOperand* value = UseRegisterAtStart(instr->value());
1990 return AssignEnvironment(new(zone()) LCheckSmi(value)); 1990 return AssignEnvironment(new(zone()) LCheckSmi(value));
1991 } 1991 }
1992 1992
1993 1993
1994 LInstruction* LChunkBuilder::DoCheckArrayBufferNotNeutered(
1995 HCheckArrayBufferNotNeutered* instr) {
1996 LOperand* view = UseRegisterAtStart(instr->value());
1997 LCheckArrayBufferNotNeutered* result =
1998 new (zone()) LCheckArrayBufferNotNeutered(view);
1999 return AssignEnvironment(result);
2000 }
2001
2002
1994 LInstruction* LChunkBuilder::DoCheckInstanceType(HCheckInstanceType* instr) { 2003 LInstruction* LChunkBuilder::DoCheckInstanceType(HCheckInstanceType* instr) {
1995 LOperand* value = UseRegisterAtStart(instr->value()); 2004 LOperand* value = UseRegisterAtStart(instr->value());
1996 LInstruction* result = new(zone()) LCheckInstanceType(value); 2005 LInstruction* result = new(zone()) LCheckInstanceType(value);
1997 return AssignEnvironment(result); 2006 return AssignEnvironment(result);
1998 } 2007 }
1999 2008
2000 2009
2001 LInstruction* LChunkBuilder::DoCheckValue(HCheckValue* instr) { 2010 LInstruction* LChunkBuilder::DoCheckValue(HCheckValue* instr) {
2002 LOperand* value = UseRegisterAtStart(instr->value()); 2011 LOperand* value = UseRegisterAtStart(instr->value());
2003 return AssignEnvironment(new(zone()) LCheckValue(value)); 2012 return AssignEnvironment(new(zone()) LCheckValue(value));
(...skipping 601 matching lines...) Expand 10 before | Expand all | Expand 10 after
2605 LOperand* function = UseRegisterAtStart(instr->function()); 2614 LOperand* function = UseRegisterAtStart(instr->function());
2606 LAllocateBlockContext* result = 2615 LAllocateBlockContext* result =
2607 new(zone()) LAllocateBlockContext(context, function); 2616 new(zone()) LAllocateBlockContext(context, function);
2608 return MarkAsCall(DefineFixed(result, cp), instr); 2617 return MarkAsCall(DefineFixed(result, cp), instr);
2609 } 2618 }
2610 2619
2611 2620
2612 } } // namespace v8::internal 2621 } } // namespace v8::internal
2613 2622
2614 #endif // V8_TARGET_ARCH_MIPS64 2623 #endif // V8_TARGET_ARCH_MIPS64
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698