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

Side by Side Diff: src/x64/lithium-x64.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 1238 matching lines...) Expand 10 before | Expand all | Expand 10 after
1338 explicit LOuterContext(LOperand* context) { 1339 explicit LOuterContext(LOperand* context) {
1339 inputs_[0] = context; 1340 inputs_[0] = context;
1340 } 1341 }
1341 1342
1342 DECLARE_CONCRETE_INSTRUCTION(OuterContext, "outer-context") 1343 DECLARE_CONCRETE_INSTRUCTION(OuterContext, "outer-context")
1343 1344
1344 LOperand* context() { return InputAt(0); } 1345 LOperand* context() { return InputAt(0); }
1345 }; 1346 };
1346 1347
1347 1348
1349 class LDeclareGlobals: public LTemplateInstruction<0, 0, 0> {
1350 public:
1351 DECLARE_CONCRETE_INSTRUCTION(DeclareGlobals, "declare-globals")
1352 DECLARE_HYDROGEN_ACCESSOR(DeclareGlobals)
1353 };
1354
1355
1348 class LGlobalObject: public LTemplateInstruction<1, 0, 0> { 1356 class LGlobalObject: public LTemplateInstruction<1, 0, 0> {
1349 public: 1357 public:
1350 DECLARE_CONCRETE_INSTRUCTION(GlobalObject, "global-object") 1358 DECLARE_CONCRETE_INSTRUCTION(GlobalObject, "global-object")
1351 }; 1359 };
1352 1360
1353 1361
1354 class LGlobalReceiver: public LTemplateInstruction<1, 1, 0> { 1362 class LGlobalReceiver: public LTemplateInstruction<1, 1, 0> {
1355 public: 1363 public:
1356 explicit LGlobalReceiver(LOperand* global_object) { 1364 explicit LGlobalReceiver(LOperand* global_object) {
1357 inputs_[0] = global_object; 1365 inputs_[0] = global_object;
(...skipping 896 matching lines...) Expand 10 before | Expand all | Expand 10 after
2254 2262
2255 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2263 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2256 }; 2264 };
2257 2265
2258 #undef DECLARE_HYDROGEN_ACCESSOR 2266 #undef DECLARE_HYDROGEN_ACCESSOR
2259 #undef DECLARE_CONCRETE_INSTRUCTION 2267 #undef DECLARE_CONCRETE_INSTRUCTION
2260 2268
2261 } } // namespace v8::int 2269 } } // namespace v8::int
2262 2270
2263 #endif // V8_X64_LITHIUM_X64_H_ 2271 #endif // V8_X64_LITHIUM_X64_H_
OLDNEW
« src/compiler.cc ('K') | « src/x64/lithium-codegen-x64.cc ('k') | src/x64/lithium-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698