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

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: Addressing Florian's comments 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
« no previous file with comments | « src/ia32/lithium-codegen-ia32.cc ('k') | src/ia32/lithium-ia32.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 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 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 V(IsSmi) \ 210 V(IsSmi) \
210 V(IsSmiAndBranch) \ 211 V(IsSmiAndBranch) \
211 V(HasInstanceType) \ 212 V(HasInstanceType) \
212 V(HasInstanceTypeAndBranch) \ 213 V(HasInstanceTypeAndBranch) \
213 V(HasCachedArrayIndex) \ 214 V(HasCachedArrayIndex) \
214 V(HasCachedArrayIndexAndBranch) \ 215 V(HasCachedArrayIndexAndBranch) \
215 V(ClassOfTest) \ 216 V(ClassOfTest) \
216 V(ClassOfTestAndBranch) \ 217 V(ClassOfTestAndBranch) \
217 V(Label) \ 218 V(Label) \
218 V(LazyBailout) \ 219 V(LazyBailout) \
220 V(LoadContextSlot) \
219 V(LoadElements) \ 221 V(LoadElements) \
220 V(LoadGlobal) \ 222 V(LoadGlobal) \
221 V(LoadKeyedFastElement) \ 223 V(LoadKeyedFastElement) \
222 V(LoadKeyedGeneric) \ 224 V(LoadKeyedGeneric) \
223 V(LoadNamedField) \ 225 V(LoadNamedField) \
224 V(LoadNamedGeneric) \ 226 V(LoadNamedGeneric) \
225 V(ModI) \ 227 V(ModI) \
226 V(MulI) \ 228 V(MulI) \
227 V(NumberTagD) \ 229 V(NumberTagD) \
228 V(NumberTagI) \ 230 V(NumberTagI) \
(...skipping 1045 matching lines...) Expand 10 before | Expand all | Expand 10 after
1274 1276
1275 class LStoreGlobal: public LUnaryOperation { 1277 class LStoreGlobal: public LUnaryOperation {
1276 public: 1278 public:
1277 explicit LStoreGlobal(LOperand* value) : LUnaryOperation(value) {} 1279 explicit LStoreGlobal(LOperand* value) : LUnaryOperation(value) {}
1278 1280
1279 DECLARE_CONCRETE_INSTRUCTION(StoreGlobal, "store-global") 1281 DECLARE_CONCRETE_INSTRUCTION(StoreGlobal, "store-global")
1280 DECLARE_HYDROGEN_ACCESSOR(StoreGlobal) 1282 DECLARE_HYDROGEN_ACCESSOR(StoreGlobal)
1281 }; 1283 };
1282 1284
1283 1285
1286 class LLoadContextSlot: public LInstruction {
1287 public:
1288 DECLARE_CONCRETE_INSTRUCTION(LoadContextSlot, "load-context-slot")
1289 DECLARE_HYDROGEN_ACCESSOR(LoadContextSlot)
1290
1291 virtual void PrintDataTo(StringStream* stream) const;
1292 };
1293
1294
1284 class LPushArgument: public LUnaryOperation { 1295 class LPushArgument: public LUnaryOperation {
1285 public: 1296 public:
1286 explicit LPushArgument(LOperand* argument) : LUnaryOperation(argument) {} 1297 explicit LPushArgument(LOperand* argument) : LUnaryOperation(argument) {}
1287 1298
1288 DECLARE_CONCRETE_INSTRUCTION(PushArgument, "push-argument") 1299 DECLARE_CONCRETE_INSTRUCTION(PushArgument, "push-argument")
1289 }; 1300 };
1290 1301
1291 1302
1292 class LGlobalObject: public LInstruction { 1303 class LGlobalObject: public LInstruction {
1293 public: 1304 public:
(...skipping 779 matching lines...) Expand 10 before | Expand all | Expand 10 after
2073 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2084 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2074 }; 2085 };
2075 2086
2076 #undef DECLARE_HYDROGEN_ACCESSOR 2087 #undef DECLARE_HYDROGEN_ACCESSOR
2077 #undef DECLARE_INSTRUCTION 2088 #undef DECLARE_INSTRUCTION
2078 #undef DECLARE_CONCRETE_INSTRUCTION 2089 #undef DECLARE_CONCRETE_INSTRUCTION
2079 2090
2080 } } // namespace v8::internal 2091 } } // namespace v8::internal
2081 2092
2082 #endif // V8_IA32_LITHIUM_IA32_H_ 2093 #endif // V8_IA32_LITHIUM_IA32_H_
OLDNEW
« no previous file with comments | « src/ia32/lithium-codegen-ia32.cc ('k') | src/ia32/lithium-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698