Revision: 3102
Author: [email protected]
Date: Wed Oct 21 04:56:05 2009
Log: Support empty statements in the fast compiler.

Review URL: http://codereview.chromium.org/313003
http://code.google.com/p/v8/source/detail?r=3102

Modified:
  /branches/bleeding_edge/src/compiler.cc
  /branches/bleeding_edge/src/fast-codegen.cc

=======================================
--- /branches/bleeding_edge/src/compiler.cc     Wed Oct 21 02:38:21 2009
+++ /branches/bleeding_edge/src/compiler.cc     Wed Oct 21 04:56:05 2009
@@ -526,7 +526,7 @@


  void CodeGenSelector::VisitEmptyStatement(EmptyStatement* stmt) {
-  BAILOUT("EmptyStatement");
+  // EmptyStatement is supported.
  }


=======================================
--- /branches/bleeding_edge/src/fast-codegen.cc Wed Oct 21 02:17:39 2009
+++ /branches/bleeding_edge/src/fast-codegen.cc Wed Oct 21 04:56:05 2009
@@ -192,7 +192,8 @@


  void FastCodeGenerator::VisitEmptyStatement(EmptyStatement* stmt) {
-  UNREACHABLE();
+  Comment cmnt(masm_, "[ EmptyStatement");
+  SetStatementPosition(stmt);
  }



--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to