| Index: src/x64/codegen-x64.cc
|
| ===================================================================
|
| --- src/x64/codegen-x64.cc (revision 2975)
|
| +++ src/x64/codegen-x64.cc (working copy)
|
| @@ -913,7 +913,6 @@
|
|
|
| void CodeGenerator::VisitDeclaration(Declaration* node) {
|
| Comment cmnt(masm_, "[ Declaration");
|
| - CodeForStatementPosition(node);
|
| Variable* var = node->proxy()->var();
|
| ASSERT(var != NULL); // must have been resolved
|
| Slot* slot = var->slot();
|
| @@ -2592,7 +2591,6 @@
|
|
|
| void CodeGenerator::VisitAssignment(Assignment* node) {
|
| Comment cmnt(masm_, "[ Assignment");
|
| - CodeForStatementPosition(node);
|
|
|
| { Reference target(this, node->target());
|
| if (target.is_illegal()) {
|
| @@ -2674,8 +2672,6 @@
|
|
|
| void CodeGenerator::VisitThrow(Throw* node) {
|
| Comment cmnt(masm_, "[ Throw");
|
| - CodeForStatementPosition(node);
|
| -
|
| Load(node->exception());
|
| Result result = frame_->CallRuntime(Runtime::kThrow, 1);
|
| frame_->Push(&result);
|
| @@ -2694,8 +2690,6 @@
|
|
|
| ZoneList<Expression*>* args = node->arguments();
|
|
|
| - CodeForStatementPosition(node);
|
| -
|
| // Check if the function is a variable or a property.
|
| Expression* function = node->expression();
|
| Variable* var = function->AsVariableProxy()->AsVariable();
|
| @@ -2855,8 +2849,6 @@
|
| ZoneList<Expression*>* args = node->arguments();
|
| Expression* function = node->expression();
|
|
|
| - CodeForStatementPosition(node);
|
| -
|
| // Prepare the stack for the call to the resolved function.
|
| Load(function);
|
|
|
| @@ -2908,7 +2900,6 @@
|
|
|
| void CodeGenerator::VisitCallNew(CallNew* node) {
|
| Comment cmnt(masm_, "[ CallNew");
|
| - CodeForStatementPosition(node);
|
|
|
| // According to ECMA-262, section 11.2.2, page 44, the function
|
| // expression in new calls must be evaluated before the
|
|
|