Index: src/full-codegen/full-codegen.cc |
diff --git a/src/full-codegen/full-codegen.cc b/src/full-codegen/full-codegen.cc |
index e6581b994fd2bdb71107d9d0e9c9907539959c20..9b90fb684470331a0a27e696b17e41c37fff2825 100644 |
--- a/src/full-codegen/full-codegen.cc |
+++ b/src/full-codegen/full-codegen.cc |
@@ -802,6 +802,15 @@ void FullCodeGenerator::VisitBlock(Block* stmt) { |
} |
+void FullCodeGenerator::VisitDoExpression(DoExpression* expr) { |
+ Comment cmnt(masm_, "[ Do Expression"); |
+ NestedStatement nested_block(this); |
+ SetExpressionPosition(expr); |
+ VisitBlock(expr->block()); |
+ EmitVariableLoad(expr->result()); |
+} |
+ |
+ |
void FullCodeGenerator::VisitExpressionStatement(ExpressionStatement* stmt) { |
Comment cmnt(masm_, "[ ExpressionStatement"); |
SetStatementPosition(stmt); |