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

Side by Side Diff: src/fast-codegen.cc

Issue 339004: Eliminate the constant location used for literals in the AST.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 years, 1 month 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 2009 the V8 project authors. All rights reserved. 1 // Copyright 2009 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 261 matching lines...) Expand 10 before | Expand all | Expand 10 after
272 UNREACHABLE(); 272 UNREACHABLE();
273 } 273 }
274 274
275 275
276 void FastCodeGenerator::VisitSlot(Slot* expr) { 276 void FastCodeGenerator::VisitSlot(Slot* expr) {
277 // Slots do not appear directly in the AST. 277 // Slots do not appear directly in the AST.
278 UNREACHABLE(); 278 UNREACHABLE();
279 } 279 }
280 280
281 281
282 void FastCodeGenerator::VisitLiteral(Literal* expr) {
283 // No code is emitted (here) for simple literals.
284 }
285
286
287 void FastCodeGenerator::VisitCatchExtensionObject(CatchExtensionObject* expr) { 282 void FastCodeGenerator::VisitCatchExtensionObject(CatchExtensionObject* expr) {
288 UNREACHABLE(); 283 UNREACHABLE();
289 } 284 }
290 285
291 286
292 void FastCodeGenerator::VisitThrow(Throw* expr) { 287 void FastCodeGenerator::VisitThrow(Throw* expr) {
293 UNREACHABLE(); 288 UNREACHABLE();
294 } 289 }
295 290
296 291
(...skipping 21 matching lines...) Expand all
318 UNREACHABLE(); 313 UNREACHABLE();
319 } 314 }
320 315
321 316
322 void FastCodeGenerator::VisitThisFunction(ThisFunction* expr) { 317 void FastCodeGenerator::VisitThisFunction(ThisFunction* expr) {
323 UNREACHABLE(); 318 UNREACHABLE();
324 } 319 }
325 320
326 321
327 } } // namespace v8::internal 322 } } // namespace v8::internal
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698