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

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

Issue 6903060: Version 3.3.2.... (Closed) Base URL: http://v8.googlecode.com/svn/trunk/
Patch Set: '' Created 9 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 | Annotate | Revision Log
« no previous file with comments | « src/arm/code-stubs-arm.cc ('k') | src/arm/lithium-arm.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 V(FunctionLiteral) \ 95 V(FunctionLiteral) \
96 V(Gap) \ 96 V(Gap) \
97 V(GetCachedArrayIndex) \ 97 V(GetCachedArrayIndex) \
98 V(GlobalObject) \ 98 V(GlobalObject) \
99 V(GlobalReceiver) \ 99 V(GlobalReceiver) \
100 V(Goto) \ 100 V(Goto) \
101 V(HasCachedArrayIndex) \ 101 V(HasCachedArrayIndex) \
102 V(HasCachedArrayIndexAndBranch) \ 102 V(HasCachedArrayIndexAndBranch) \
103 V(HasInstanceType) \ 103 V(HasInstanceType) \
104 V(HasInstanceTypeAndBranch) \ 104 V(HasInstanceTypeAndBranch) \
105 V(In) \
105 V(InstanceOf) \ 106 V(InstanceOf) \
106 V(InstanceOfAndBranch) \ 107 V(InstanceOfAndBranch) \
107 V(InstanceOfKnownGlobal) \ 108 V(InstanceOfKnownGlobal) \
108 V(Integer32ToDouble) \ 109 V(Integer32ToDouble) \
109 V(InvokeFunction) \ 110 V(InvokeFunction) \
110 V(IsNull) \ 111 V(IsNull) \
111 V(IsNullAndBranch) \ 112 V(IsNullAndBranch) \
112 V(IsObject) \ 113 V(IsObject) \
113 V(IsObjectAndBranch) \ 114 V(IsObjectAndBranch) \
114 V(IsSmi) \ 115 V(IsSmi) \
(...skipping 1870 matching lines...) Expand 10 before | Expand all | Expand 10 after
1985 LOperand* double_register_spills_[DoubleRegister::kNumAllocatableRegisters]; 1986 LOperand* double_register_spills_[DoubleRegister::kNumAllocatableRegisters];
1986 }; 1987 };
1987 1988
1988 1989
1989 class LStackCheck: public LTemplateInstruction<0, 0, 0> { 1990 class LStackCheck: public LTemplateInstruction<0, 0, 0> {
1990 public: 1991 public:
1991 DECLARE_CONCRETE_INSTRUCTION(StackCheck, "stack-check") 1992 DECLARE_CONCRETE_INSTRUCTION(StackCheck, "stack-check")
1992 }; 1993 };
1993 1994
1994 1995
1996 class LIn: public LTemplateInstruction<1, 2, 0> {
1997 public:
1998 LIn(LOperand* key, LOperand* object) {
1999 inputs_[0] = key;
2000 inputs_[1] = object;
2001 }
2002
2003 LOperand* key() { return inputs_[0]; }
2004 LOperand* object() { return inputs_[1]; }
2005
2006 DECLARE_CONCRETE_INSTRUCTION(In, "in")
2007 };
2008
2009
1995 class LChunkBuilder; 2010 class LChunkBuilder;
1996 class LChunk: public ZoneObject { 2011 class LChunk: public ZoneObject {
1997 public: 2012 public:
1998 explicit LChunk(CompilationInfo* info, HGraph* graph); 2013 explicit LChunk(CompilationInfo* info, HGraph* graph);
1999 2014
2000 void AddInstruction(LInstruction* instruction, HBasicBlock* block); 2015 void AddInstruction(LInstruction* instruction, HBasicBlock* block);
2001 LConstantOperand* DefineConstantOperand(HConstant* constant); 2016 LConstantOperand* DefineConstantOperand(HConstant* constant);
2002 Handle<Object> LookupLiteral(LConstantOperand* operand) const; 2017 Handle<Object> LookupLiteral(LConstantOperand* operand) const;
2003 Representation LookupLiteralRepresentation(LConstantOperand* operand) const; 2018 Representation LookupLiteralRepresentation(LConstantOperand* operand) const;
2004 2019
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
2208 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2223 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2209 }; 2224 };
2210 2225
2211 #undef DECLARE_HYDROGEN_ACCESSOR 2226 #undef DECLARE_HYDROGEN_ACCESSOR
2212 #undef DECLARE_INSTRUCTION 2227 #undef DECLARE_INSTRUCTION
2213 #undef DECLARE_CONCRETE_INSTRUCTION 2228 #undef DECLARE_CONCRETE_INSTRUCTION
2214 2229
2215 } } // namespace v8::internal 2230 } } // namespace v8::internal
2216 2231
2217 #endif // V8_ARM_LITHIUM_ARM_H_ 2232 #endif // V8_ARM_LITHIUM_ARM_H_
OLDNEW
« no previous file with comments | « src/arm/code-stubs-arm.cc ('k') | src/arm/lithium-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698