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:
parent
0bd21aa0f9
commit
a84ba0e15c
@ -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());
|
||||
|
||||
|
@ -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());
|
||||
|
||||
|
@ -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());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user