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

Unified Diff: src/messages.cc

Issue 1310573003: . (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 4 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/debug/mirrors.js ('k') | src/messages.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/messages.cc
diff --git a/src/messages.cc b/src/messages.cc
index 908ee08e4bc7793cd4d5ed5fd91fcfb08f9f3e39..1f71b63d2ca35c9dfcf2e27fdf79dd18f678536a 100644
--- a/src/messages.cc
+++ b/src/messages.cc
@@ -37,8 +37,8 @@ Handle<JSMessageObject> MessageHandler::MakeMessageObject(
Handle<Object> argument, Handle<JSArray> stack_frames) {
Factory* factory = isolate->factory();
- int start = 0;
- int end = 0;
+ int start = -1;
+ int end = -1;
Handle<Object> script_handle = factory->undefined_value();
if (loc) {
start = loc->start_pos();
« no previous file with comments | « src/debug/mirrors.js ('k') | src/messages.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698