Revision: 3157 Author: [email protected] Date: Wed Oct 28 03:14:32 2009 Log: Fix missing recording of source position for property access in fast compiler.
Review URL: http://codereview.chromium.org/341002 http://code.google.com/p/v8/source/detail?r=3157 Modified: /branches/bleeding_edge/src/arm/fast-codegen-arm.cc /branches/bleeding_edge/src/ia32/fast-codegen-ia32.cc /branches/bleeding_edge/src/x64/fast-codegen-x64.cc ======================================= --- /branches/bleeding_edge/src/arm/fast-codegen-arm.cc Wed Oct 28 02:56:14 2009 +++ /branches/bleeding_edge/src/arm/fast-codegen-arm.cc Wed Oct 28 03:14:32 2009 @@ -497,6 +497,9 @@ Expression* key = expr->key(); uint32_t dummy; + // Record the source position for the property load. + SetSourcePosition(expr->position()); + // Evaluate receiver. Visit(expr->obj()); ======================================= --- /branches/bleeding_edge/src/ia32/fast-codegen-ia32.cc Wed Oct 28 02:56:14 2009 +++ /branches/bleeding_edge/src/ia32/fast-codegen-ia32.cc Wed Oct 28 03:14:32 2009 @@ -494,6 +494,9 @@ Expression* key = expr->key(); uint32_t dummy; + // Record the source position for the property load. + SetSourcePosition(expr->position()); + // Evaluate receiver. Visit(expr->obj()); ======================================= --- /branches/bleeding_edge/src/x64/fast-codegen-x64.cc Wed Oct 28 02:56:14 2009 +++ /branches/bleeding_edge/src/x64/fast-codegen-x64.cc Wed Oct 28 03:14:32 2009 @@ -507,6 +507,9 @@ Expression* key = expr->key(); uint32_t dummy; + // Record the source position for the property load. + SetSourcePosition(expr->position()); + // Evaluate receiver. Visit(expr->obj()); --~--~---------~--~----~------------~-------~--~----~ v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev -~----------~----~----~----~------~----~------~--~---
