Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(15)

Unified Diff: src/scopes.cc

Issue 9125001: Adjust position recorded for call expressions. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/parser.cc ('k') | test/mjsunit/regress/regress-109195.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/scopes.cc
diff --git a/src/scopes.cc b/src/scopes.cc
index 4a6d0a7fae2f4e2b2a2d01913d9ae6b07b2f56b0..d0ee8ec7f21af11758a2cb3c49dcf9f8a2aa6b18 100644
--- a/src/scopes.cc
+++ b/src/scopes.cc
@@ -808,7 +808,7 @@ void Scope::Print(int n) {
PrintF(")");
}
- PrintF(" {\n");
+ PrintF(" { // (%d, %d)\n", start_position(), end_position());
// Function name, if any (named function literals, only).
if (function_ != NULL) {
« no previous file with comments | « src/parser.cc ('k') | test/mjsunit/regress/regress-109195.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698