Index: src/hydrogen.cc |
diff --git a/src/hydrogen.cc b/src/hydrogen.cc |
index 339e0d3a8aba3297551cefdabb6e799b63201e1a..d4ea58084f4037c4dd2e17f0c14300a2b0f89bdf 100644 |
--- a/src/hydrogen.cc |
+++ b/src/hydrogen.cc |
@@ -6512,6 +6512,7 @@ void HOptimizedGraphBuilder::VisitAssignment(Assignment* expr) { |
ASSERT(!HasStackOverflow()); |
ASSERT(current_block() != NULL); |
ASSERT(current_block()->HasPredecessor()); |
+ if (!FLAG_hydrogen_track_positions) SetSourcePosition(expr->position()); |
VariableProxy* proxy = expr->target()->AsVariableProxy(); |
Property* prop = expr->target()->AsProperty(); |
ASSERT(proxy == NULL || prop == NULL); |
@@ -7213,6 +7214,8 @@ void HOptimizedGraphBuilder::VisitProperty(Property* expr) { |
ASSERT(current_block() != NULL); |
ASSERT(current_block()->HasPredecessor()); |
+ if (!FLAG_hydrogen_track_positions) SetSourcePosition(expr->position()); |
+ |
if (TryArgumentsAccess(expr)) return; |
CHECK_ALIVE(VisitForValue(expr->obj())); |