Index: src/ia32/codegen-ia32.cc |
=================================================================== |
--- src/ia32/codegen-ia32.cc (revision 2975) |
+++ src/ia32/codegen-ia32.cc (working copy) |
@@ -2305,7 +2305,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(); |
@@ -4333,7 +4332,6 @@ |
void CodeGenerator::VisitAssignment(Assignment* node) { |
Comment cmnt(masm_, "[ Assignment"); |
- CodeForStatementPosition(node); |
{ Reference target(this, node->target()); |
if (target.is_illegal()) { |
@@ -4415,8 +4413,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); |
@@ -4435,8 +4431,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(); |
@@ -4591,7 +4585,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 |
@@ -4631,8 +4624,6 @@ |
ZoneList<Expression*>* args = node->arguments(); |
Expression* function = node->expression(); |
- CodeForStatementPosition(node); |
- |
// Prepare the stack for the call to the resolved function. |
Load(function); |