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

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

Issue 313003: Support empty statements in the fast compiler. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 11 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/compiler.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 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 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 } 185 }
186 } 186 }
187 187
188 188
189 void FastCodeGenerator::VisitDeclaration(Declaration* decl) { 189 void FastCodeGenerator::VisitDeclaration(Declaration* decl) {
190 UNREACHABLE(); 190 UNREACHABLE();
191 } 191 }
192 192
193 193
194 void FastCodeGenerator::VisitEmptyStatement(EmptyStatement* stmt) { 194 void FastCodeGenerator::VisitEmptyStatement(EmptyStatement* stmt) {
195 UNREACHABLE(); 195 Comment cmnt(masm_, "[ EmptyStatement");
196 SetStatementPosition(stmt);
196 } 197 }
197 198
198 199
199 void FastCodeGenerator::VisitIfStatement(IfStatement* stmt) { 200 void FastCodeGenerator::VisitIfStatement(IfStatement* stmt) {
200 UNREACHABLE(); 201 UNREACHABLE();
201 } 202 }
202 203
203 204
204 void FastCodeGenerator::VisitContinueStatement(ContinueStatement* stmt) { 205 void FastCodeGenerator::VisitContinueStatement(ContinueStatement* stmt) {
205 UNREACHABLE(); 206 UNREACHABLE();
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
337 UNREACHABLE(); 338 UNREACHABLE();
338 } 339 }
339 340
340 341
341 void FastCodeGenerator::VisitThisFunction(ThisFunction* expr) { 342 void FastCodeGenerator::VisitThisFunction(ThisFunction* expr) {
342 UNREACHABLE(); 343 UNREACHABLE();
343 } 344 }
344 345
345 346
346 } } // namespace v8::internal 347 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/compiler.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698