Support empty statements in the fast compiler.

Review URL: http://codereview.chromium.org/313003

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3102 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 61363d83
...@@ -526,7 +526,7 @@ void CodeGenSelector::VisitExpressionStatement(ExpressionStatement* stmt) { ...@@ -526,7 +526,7 @@ void CodeGenSelector::VisitExpressionStatement(ExpressionStatement* stmt) {
void CodeGenSelector::VisitEmptyStatement(EmptyStatement* stmt) { void CodeGenSelector::VisitEmptyStatement(EmptyStatement* stmt) {
BAILOUT("EmptyStatement"); // EmptyStatement is supported.
} }
......
...@@ -192,7 +192,8 @@ void FastCodeGenerator::VisitDeclaration(Declaration* decl) { ...@@ -192,7 +192,8 @@ void FastCodeGenerator::VisitDeclaration(Declaration* decl) {
void FastCodeGenerator::VisitEmptyStatement(EmptyStatement* stmt) { void FastCodeGenerator::VisitEmptyStatement(EmptyStatement* stmt) {
UNREACHABLE(); Comment cmnt(masm_, "[ EmptyStatement");
SetStatementPosition(stmt);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment