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

Side by Side Diff: src/isolate.h

Issue 885043002: [V8] Added line, column and script symbols for SyntaxError (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebased Created 5 years, 10 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 unified diff | Download patch
« no previous file with comments | « src/heap/heap.h ('k') | src/isolate.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_ISOLATE_H_ 5 #ifndef V8_ISOLATE_H_
6 #define V8_ISOLATE_H_ 6 #define V8_ISOLATE_H_
7 7
8 #include <queue> 8 #include <queue>
9 #include "include/v8-debug.h" 9 #include "include/v8-debug.h"
10 #include "src/allocation.h" 10 #include "src/allocation.h"
(...skipping 791 matching lines...) Expand 10 before | Expand all | Expand 10 after
802 Object* PromoteScheduledException(); 802 Object* PromoteScheduledException();
803 void DoThrow(Object* exception, MessageLocation* location); 803 void DoThrow(Object* exception, MessageLocation* location);
804 // Checks if exception should be reported and finds out if it's 804 // Checks if exception should be reported and finds out if it's
805 // caught externally. 805 // caught externally.
806 bool ShouldReportException(bool* can_be_caught_externally, 806 bool ShouldReportException(bool* can_be_caught_externally,
807 bool catchable_by_javascript); 807 bool catchable_by_javascript);
808 808
809 // Attempts to compute the current source location, storing the 809 // Attempts to compute the current source location, storing the
810 // result in the target out parameter. 810 // result in the target out parameter.
811 void ComputeLocation(MessageLocation* target); 811 void ComputeLocation(MessageLocation* target);
812 bool ComputeLocationFromException(MessageLocation* target,
813 Handle<Object> exception);
812 bool ComputeLocationFromStackTrace(MessageLocation* target, 814 bool ComputeLocationFromStackTrace(MessageLocation* target,
813 Handle<Object> exception); 815 Handle<Object> exception);
814 816
815 Handle<JSMessageObject> CreateMessage(Handle<Object> exception, 817 Handle<JSMessageObject> CreateMessage(Handle<Object> exception,
816 MessageLocation* location); 818 MessageLocation* location);
817 819
818 // Out of resource exception helpers. 820 // Out of resource exception helpers.
819 Object* StackOverflow(); 821 Object* StackOverflow();
820 Object* TerminateExecution(); 822 Object* TerminateExecution();
821 void CancelTerminateExecution(); 823 void CancelTerminateExecution();
(...skipping 758 matching lines...) Expand 10 before | Expand all | Expand 10 after
1580 } 1582 }
1581 1583
1582 EmbeddedVector<char, 128> filename_; 1584 EmbeddedVector<char, 128> filename_;
1583 FILE* file_; 1585 FILE* file_;
1584 int scope_depth_; 1586 int scope_depth_;
1585 }; 1587 };
1586 1588
1587 } } // namespace v8::internal 1589 } } // namespace v8::internal
1588 1590
1589 #endif // V8_ISOLATE_H_ 1591 #endif // V8_ISOLATE_H_
OLDNEW
« no previous file with comments | « src/heap/heap.h ('k') | src/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698