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

Side by Side Diff: src/x64/lithium-x64.h

Issue 6542011: X64 Crankshaft: Implement LValueOf and (dummy) LArgumentsObject. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 9 years, 10 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 987 matching lines...) Expand 10 before | Expand all | Expand 10 after
998 public: 998 public:
999 explicit LFixedArrayLength(LOperand* value) { 999 explicit LFixedArrayLength(LOperand* value) {
1000 inputs_[0] = value; 1000 inputs_[0] = value;
1001 } 1001 }
1002 1002
1003 DECLARE_CONCRETE_INSTRUCTION(FixedArrayLength, "fixed-array-length") 1003 DECLARE_CONCRETE_INSTRUCTION(FixedArrayLength, "fixed-array-length")
1004 DECLARE_HYDROGEN_ACCESSOR(FixedArrayLength) 1004 DECLARE_HYDROGEN_ACCESSOR(FixedArrayLength)
1005 }; 1005 };
1006 1006
1007 1007
1008 class LValueOf: public LTemplateInstruction<1, 1, 1> { 1008 class LValueOf: public LTemplateInstruction<1, 1, 0> {
1009 public: 1009 public:
1010 LValueOf(LOperand* value, LOperand* temp) { 1010 explicit LValueOf(LOperand* value) {
1011 inputs_[0] = value; 1011 inputs_[0] = value;
1012 temps_[0] = temp;
1013 } 1012 }
1014 1013
1015 DECLARE_CONCRETE_INSTRUCTION(ValueOf, "value-of") 1014 DECLARE_CONCRETE_INSTRUCTION(ValueOf, "value-of")
1016 DECLARE_HYDROGEN_ACCESSOR(ValueOf) 1015 DECLARE_HYDROGEN_ACCESSOR(ValueOf)
1017 }; 1016 };
1018 1017
1019 1018
1020 class LThrow: public LTemplateInstruction<0, 1, 0> { 1019 class LThrow: public LTemplateInstruction<0, 1, 0> {
1021 public: 1020 public:
1022 explicit LThrow(LOperand* value) { 1021 explicit LThrow(LOperand* value) {
(...skipping 976 matching lines...) Expand 10 before | Expand all | Expand 10 after
1999 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 1998 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2000 }; 1999 };
2001 2000
2002 #undef DECLARE_HYDROGEN_ACCESSOR 2001 #undef DECLARE_HYDROGEN_ACCESSOR
2003 #undef DECLARE_INSTRUCTION 2002 #undef DECLARE_INSTRUCTION
2004 #undef DECLARE_CONCRETE_INSTRUCTION 2003 #undef DECLARE_CONCRETE_INSTRUCTION
2005 2004
2006 } } // namespace v8::int 2005 } } // namespace v8::int
2007 2006
2008 #endif // V8_X64_LITHIUM_X64_H_ 2007 #endif // V8_X64_LITHIUM_X64_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698