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

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

Issue 5753005: Make closures optimizable by Crankshaft compiler. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Minor fix in hash function Created 10 years 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 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 // LConstant 81 // LConstant
82 // LConstantD 82 // LConstantD
83 // LConstantI 83 // LConstantI
84 // LConstantT 84 // LConstantT
85 // LDeoptimize 85 // LDeoptimize
86 // LFunctionLiteral 86 // LFunctionLiteral
87 // LGlobalObject 87 // LGlobalObject
88 // LGlobalReceiver 88 // LGlobalReceiver
89 // LLabel 89 // LLabel
90 // LLayzBailout 90 // LLayzBailout
91 // LLoadContextSlot
91 // LLoadGlobal 92 // LLoadGlobal
92 // LMaterializedLiteral 93 // LMaterializedLiteral
93 // LArrayLiteral 94 // LArrayLiteral
94 // LObjectLiteral 95 // LObjectLiteral
95 // LRegExpLiteral 96 // LRegExpLiteral
96 // LOsrEntry 97 // LOsrEntry
97 // LParameter 98 // LParameter
98 // LRegExpConstructResult 99 // LRegExpConstructResult
99 // LStackCheck 100 // LStackCheck
100 // LStoreKeyed 101 // LStoreKeyed
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 V(IsSmi) \ 214 V(IsSmi) \
214 V(IsSmiAndBranch) \ 215 V(IsSmiAndBranch) \
215 V(HasInstanceType) \ 216 V(HasInstanceType) \
216 V(HasInstanceTypeAndBranch) \ 217 V(HasInstanceTypeAndBranch) \
217 V(HasCachedArrayIndex) \ 218 V(HasCachedArrayIndex) \
218 V(HasCachedArrayIndexAndBranch) \ 219 V(HasCachedArrayIndexAndBranch) \
219 V(ClassOfTest) \ 220 V(ClassOfTest) \
220 V(ClassOfTestAndBranch) \ 221 V(ClassOfTestAndBranch) \
221 V(Label) \ 222 V(Label) \
222 V(LazyBailout) \ 223 V(LazyBailout) \
224 V(LoadContextSlot) \
223 V(LoadElements) \ 225 V(LoadElements) \
224 V(LoadGlobal) \ 226 V(LoadGlobal) \
225 V(LoadKeyedFastElement) \ 227 V(LoadKeyedFastElement) \
226 V(LoadKeyedGeneric) \ 228 V(LoadKeyedGeneric) \
227 V(LoadNamedField) \ 229 V(LoadNamedField) \
228 V(LoadNamedGeneric) \ 230 V(LoadNamedGeneric) \
229 V(ModI) \ 231 V(ModI) \
230 V(MulI) \ 232 V(MulI) \
231 V(NumberTagD) \ 233 V(NumberTagD) \
232 V(NumberTagI) \ 234 V(NumberTagI) \
(...skipping 1087 matching lines...) Expand 10 before | Expand all | Expand 10 after
1320 1322
1321 class LStoreGlobal: public LUnaryOperation { 1323 class LStoreGlobal: public LUnaryOperation {
1322 public: 1324 public:
1323 explicit LStoreGlobal(LOperand* value) : LUnaryOperation(value) {} 1325 explicit LStoreGlobal(LOperand* value) : LUnaryOperation(value) {}
1324 1326
1325 DECLARE_CONCRETE_INSTRUCTION(StoreGlobal, "store-global") 1327 DECLARE_CONCRETE_INSTRUCTION(StoreGlobal, "store-global")
1326 DECLARE_HYDROGEN_ACCESSOR(StoreGlobal) 1328 DECLARE_HYDROGEN_ACCESSOR(StoreGlobal)
1327 }; 1329 };
1328 1330
1329 1331
1332 class LLoadContextSlot: public LInstruction {
1333 public:
1334 DECLARE_CONCRETE_INSTRUCTION(LoadContextSlot, "load-context-slot")
1335 DECLARE_HYDROGEN_ACCESSOR(LoadContextSlot)
1336
1337 virtual void PrintDataTo(StringStream* stream) const;
1338 };
1339
1340
1330 class LPushArgument: public LUnaryOperation { 1341 class LPushArgument: public LUnaryOperation {
1331 public: 1342 public:
1332 explicit LPushArgument(LOperand* argument) : LUnaryOperation(argument) {} 1343 explicit LPushArgument(LOperand* argument) : LUnaryOperation(argument) {}
1333 1344
1334 DECLARE_CONCRETE_INSTRUCTION(PushArgument, "push-argument") 1345 DECLARE_CONCRETE_INSTRUCTION(PushArgument, "push-argument")
1335 }; 1346 };
1336 1347
1337 1348
1338 class LGlobalObject: public LInstruction { 1349 class LGlobalObject: public LInstruction {
1339 public: 1350 public:
(...skipping 779 matching lines...) Expand 10 before | Expand all | Expand 10 after
2119 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2130 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2120 }; 2131 };
2121 2132
2122 #undef DECLARE_HYDROGEN_ACCESSOR 2133 #undef DECLARE_HYDROGEN_ACCESSOR
2123 #undef DECLARE_INSTRUCTION 2134 #undef DECLARE_INSTRUCTION
2124 #undef DECLARE_CONCRETE_INSTRUCTION 2135 #undef DECLARE_CONCRETE_INSTRUCTION
2125 2136
2126 } } // namespace v8::internal 2137 } } // namespace v8::internal
2127 2138
2128 #endif // V8_IA32_LITHIUM_IA32_H_ 2139 #endif // V8_IA32_LITHIUM_IA32_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698