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
parent 0bd21aa0
......@@ -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());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment