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/arm/lithium-arm.h

Issue 9187005: Enable optimization of top-level code. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: fixed problem with eval code, addressed comments Created 8 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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 V(ClassOfTestAndBranch) \ 80 V(ClassOfTestAndBranch) \
81 V(CmpConstantEqAndBranch) \ 81 V(CmpConstantEqAndBranch) \
82 V(CmpIDAndBranch) \ 82 V(CmpIDAndBranch) \
83 V(CmpObjectEqAndBranch) \ 83 V(CmpObjectEqAndBranch) \
84 V(CmpMapAndBranch) \ 84 V(CmpMapAndBranch) \
85 V(CmpT) \ 85 V(CmpT) \
86 V(ConstantD) \ 86 V(ConstantD) \
87 V(ConstantI) \ 87 V(ConstantI) \
88 V(ConstantT) \ 88 V(ConstantT) \
89 V(Context) \ 89 V(Context) \
90 V(DeclareGlobals) \
90 V(DeleteProperty) \ 91 V(DeleteProperty) \
91 V(Deoptimize) \ 92 V(Deoptimize) \
92 V(DivI) \ 93 V(DivI) \
93 V(DoubleToI) \ 94 V(DoubleToI) \
94 V(ElementsKind) \ 95 V(ElementsKind) \
95 V(FixedArrayBaseLength) \ 96 V(FixedArrayBaseLength) \
96 V(FunctionLiteral) \ 97 V(FunctionLiteral) \
97 V(GetCachedArrayIndex) \ 98 V(GetCachedArrayIndex) \
98 V(GlobalObject) \ 99 V(GlobalObject) \
99 V(GlobalReceiver) \ 100 V(GlobalReceiver) \
(...skipping 1239 matching lines...) Expand 10 before | Expand all | Expand 10 after
1339 explicit LOuterContext(LOperand* context) { 1340 explicit LOuterContext(LOperand* context) {
1340 inputs_[0] = context; 1341 inputs_[0] = context;
1341 } 1342 }
1342 1343
1343 DECLARE_CONCRETE_INSTRUCTION(OuterContext, "outer-context") 1344 DECLARE_CONCRETE_INSTRUCTION(OuterContext, "outer-context")
1344 1345
1345 LOperand* context() { return InputAt(0); } 1346 LOperand* context() { return InputAt(0); }
1346 }; 1347 };
1347 1348
1348 1349
1350 class LDeclareGlobals: public LTemplateInstruction<0, 0, 0> {
1351 public:
1352 DECLARE_CONCRETE_INSTRUCTION(DeclareGlobals, "declare-globals")
1353 DECLARE_HYDROGEN_ACCESSOR(DeclareGlobals)
1354 };
1355
1356
1349 class LGlobalObject: public LTemplateInstruction<1, 1, 0> { 1357 class LGlobalObject: public LTemplateInstruction<1, 1, 0> {
1350 public: 1358 public:
1351 explicit LGlobalObject(LOperand* context) { 1359 explicit LGlobalObject(LOperand* context) {
1352 inputs_[0] = context; 1360 inputs_[0] = context;
1353 } 1361 }
1354 1362
1355 DECLARE_CONCRETE_INSTRUCTION(GlobalObject, "global-object") 1363 DECLARE_CONCRETE_INSTRUCTION(GlobalObject, "global-object")
1356 1364
1357 LOperand* context() { return InputAt(0); } 1365 LOperand* context() { return InputAt(0); }
1358 }; 1366 };
(...skipping 909 matching lines...) Expand 10 before | Expand all | Expand 10 after
2268 2276
2269 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2277 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2270 }; 2278 };
2271 2279
2272 #undef DECLARE_HYDROGEN_ACCESSOR 2280 #undef DECLARE_HYDROGEN_ACCESSOR
2273 #undef DECLARE_CONCRETE_INSTRUCTION 2281 #undef DECLARE_CONCRETE_INSTRUCTION
2274 2282
2275 } } // namespace v8::internal 2283 } } // namespace v8::internal
2276 2284
2277 #endif // V8_ARM_LITHIUM_ARM_H_ 2285 #endif // V8_ARM_LITHIUM_ARM_H_
OLDNEW
« no previous file with comments | « src/arm/full-codegen-arm.cc ('k') | src/arm/lithium-arm.cc » ('j') | src/compiler.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698