diff --git a/src/arm/fast-codegen-arm.cc b/src/arm/fast-codegen-arm.cc index fc5deb6068..c6916fba73 100644 --- a/src/arm/fast-codegen-arm.cc +++ b/src/arm/fast-codegen-arm.cc @@ -497,6 +497,9 @@ void FastCodeGenerator::VisitProperty(Property* expr) { Expression* key = expr->key(); uint32_t dummy; + // Record the source position for the property load. + SetSourcePosition(expr->position()); + // Evaluate receiver. Visit(expr->obj()); diff --git a/src/ia32/fast-codegen-ia32.cc b/src/ia32/fast-codegen-ia32.cc index cd3d02ff89..2ccff43cbb 100644 --- a/src/ia32/fast-codegen-ia32.cc +++ b/src/ia32/fast-codegen-ia32.cc @@ -494,6 +494,9 @@ void FastCodeGenerator::VisitProperty(Property* expr) { Expression* key = expr->key(); uint32_t dummy; + // Record the source position for the property load. + SetSourcePosition(expr->position()); + // Evaluate receiver. Visit(expr->obj()); diff --git a/src/x64/fast-codegen-x64.cc b/src/x64/fast-codegen-x64.cc index 98e72e2584..1fae6cb3b7 100644 --- a/src/x64/fast-codegen-x64.cc +++ b/src/x64/fast-codegen-x64.cc @@ -507,6 +507,9 @@ void FastCodeGenerator::VisitProperty(Property* expr) { Expression* key = expr->key(); uint32_t dummy; + // Record the source position for the property load. + SetSourcePosition(expr->position()); + // Evaluate receiver. Visit(expr->obj());