Fix missing recording of source position for property access in fast compiler.

Review URL: http://codereview.chromium.org/341002

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3157 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
fschneider@chromium.org 2009-10-28 10:14:32 +00:00
parent 0bd21aa0f9
commit a84ba0e15c
3 changed files with 9 additions and 0 deletions

View File

@ -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());

View File

@ -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());

View File

@ -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());