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

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

Issue 8346032: Allow inlining of named function expressions containing ThisFunction reference. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 9 years, 2 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/ia32/lithium-codegen-ia32.cc ('k') | src/x64/lithium-codegen-x64.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 1293 matching lines...) Expand 10 before | Expand all | Expand 10 after
1304 public: 1304 public:
1305 explicit LPushArgument(LOperand* value) { 1305 explicit LPushArgument(LOperand* value) {
1306 inputs_[0] = value; 1306 inputs_[0] = value;
1307 } 1307 }
1308 1308
1309 DECLARE_CONCRETE_INSTRUCTION(PushArgument, "push-argument") 1309 DECLARE_CONCRETE_INSTRUCTION(PushArgument, "push-argument")
1310 }; 1310 };
1311 1311
1312 1312
1313 class LThisFunction: public LTemplateInstruction<1, 0, 0> { 1313 class LThisFunction: public LTemplateInstruction<1, 0, 0> {
1314 public:
1314 DECLARE_CONCRETE_INSTRUCTION(ThisFunction, "this-function") 1315 DECLARE_CONCRETE_INSTRUCTION(ThisFunction, "this-function")
1316 DECLARE_HYDROGEN_ACCESSOR(ThisFunction)
1315 }; 1317 };
1316 1318
1317 1319
1318 class LContext: public LTemplateInstruction<1, 0, 0> { 1320 class LContext: public LTemplateInstruction<1, 0, 0> {
1319 public: 1321 public:
1320 DECLARE_CONCRETE_INSTRUCTION(Context, "context") 1322 DECLARE_CONCRETE_INSTRUCTION(Context, "context")
1321 }; 1323 };
1322 1324
1323 1325
1324 class LOuterContext: public LTemplateInstruction<1, 1, 0> { 1326 class LOuterContext: public LTemplateInstruction<1, 1, 0> {
(...skipping 969 matching lines...) Expand 10 before | Expand all | Expand 10 after
2294 2296
2295 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2297 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2296 }; 2298 };
2297 2299
2298 #undef DECLARE_HYDROGEN_ACCESSOR 2300 #undef DECLARE_HYDROGEN_ACCESSOR
2299 #undef DECLARE_CONCRETE_INSTRUCTION 2301 #undef DECLARE_CONCRETE_INSTRUCTION
2300 2302
2301 } } // namespace v8::internal 2303 } } // namespace v8::internal
2302 2304
2303 #endif // V8_IA32_LITHIUM_IA32_H_ 2305 #endif // V8_IA32_LITHIUM_IA32_H_
OLDNEW
« no previous file with comments | « src/ia32/lithium-codegen-ia32.cc ('k') | src/x64/lithium-codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698