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

Side by Side Diff: src/x64/lithium-x64.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/x64/lithium-codegen-x64.cc ('k') | no next file » | 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 1258 matching lines...) Expand 10 before | Expand all | Expand 10 after
1269 public: 1269 public:
1270 explicit LPushArgument(LOperand* value) { 1270 explicit LPushArgument(LOperand* value) {
1271 inputs_[0] = value; 1271 inputs_[0] = value;
1272 } 1272 }
1273 1273
1274 DECLARE_CONCRETE_INSTRUCTION(PushArgument, "push-argument") 1274 DECLARE_CONCRETE_INSTRUCTION(PushArgument, "push-argument")
1275 }; 1275 };
1276 1276
1277 1277
1278 class LThisFunction: public LTemplateInstruction<1, 0, 0> { 1278 class LThisFunction: public LTemplateInstruction<1, 0, 0> {
1279 public:
1279 DECLARE_CONCRETE_INSTRUCTION(ThisFunction, "this-function") 1280 DECLARE_CONCRETE_INSTRUCTION(ThisFunction, "this-function")
1281 DECLARE_HYDROGEN_ACCESSOR(ThisFunction)
1280 }; 1282 };
1281 1283
1282 1284
1283 class LContext: public LTemplateInstruction<1, 0, 0> { 1285 class LContext: public LTemplateInstruction<1, 0, 0> {
1284 public: 1286 public:
1285 DECLARE_CONCRETE_INSTRUCTION(Context, "context") 1287 DECLARE_CONCRETE_INSTRUCTION(Context, "context")
1286 }; 1288 };
1287 1289
1288 1290
1289 class LOuterContext: public LTemplateInstruction<1, 1, 0> { 1291 class LOuterContext: public LTemplateInstruction<1, 1, 0> {
(...skipping 885 matching lines...) Expand 10 before | Expand all | Expand 10 after
2175 2177
2176 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2178 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2177 }; 2179 };
2178 2180
2179 #undef DECLARE_HYDROGEN_ACCESSOR 2181 #undef DECLARE_HYDROGEN_ACCESSOR
2180 #undef DECLARE_CONCRETE_INSTRUCTION 2182 #undef DECLARE_CONCRETE_INSTRUCTION
2181 2183
2182 } } // namespace v8::int 2184 } } // namespace v8::int
2183 2185
2184 #endif // V8_X64_LITHIUM_X64_H_ 2186 #endif // V8_X64_LITHIUM_X64_H_
OLDNEW
« no previous file with comments | « src/x64/lithium-codegen-x64.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698