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

Side by Side Diff: src/isolate.h

Issue 696703002: Follow up to fix v8::Exception::GetMessage() actually do what it was intended to. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | src/isolate.cc » ('j') | src/isolate.cc » ('J')
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 "include/v8-debug.h" 8 #include "include/v8-debug.h"
9 #include "src/allocation.h" 9 #include "src/allocation.h"
10 #include "src/assert-scope.h" 10 #include "src/assert-scope.h"
(...skipping 783 matching lines...) Expand 10 before | Expand all | Expand 10 after
794 Object* PromoteScheduledException(); 794 Object* PromoteScheduledException();
795 void DoThrow(Object* exception, MessageLocation* location); 795 void DoThrow(Object* exception, MessageLocation* location);
796 // Checks if exception should be reported and finds out if it's 796 // Checks if exception should be reported and finds out if it's
797 // caught externally. 797 // caught externally.
798 bool ShouldReportException(bool* can_be_caught_externally, 798 bool ShouldReportException(bool* can_be_caught_externally,
799 bool catchable_by_javascript); 799 bool catchable_by_javascript);
800 800
801 // Attempts to compute the current source location, storing the 801 // Attempts to compute the current source location, storing the
802 // result in the target out parameter. 802 // result in the target out parameter.
803 void ComputeLocation(MessageLocation* target); 803 void ComputeLocation(MessageLocation* target);
804 void ComputeLocationFromStackTrace(MessageLocation* target, 804 bool ComputeLocationFromStackTrace(MessageLocation* target,
805 Handle<Object> exception); 805 Handle<Object> exception);
806 806
807 Handle<JSMessageObject> CreateMessage(Handle<Object> exception, 807 Handle<JSMessageObject> CreateMessage(Handle<Object> exception,
808 MessageLocation* location); 808 MessageLocation* location);
809 809
810 // Out of resource exception helpers. 810 // Out of resource exception helpers.
811 Object* StackOverflow(); 811 Object* StackOverflow();
812 Object* TerminateExecution(); 812 Object* TerminateExecution();
813 void CancelTerminateExecution(); 813 void CancelTerminateExecution();
814 814
(...skipping 723 matching lines...) Expand 10 before | Expand all | Expand 10 after
1538 } 1538 }
1539 1539
1540 EmbeddedVector<char, 128> filename_; 1540 EmbeddedVector<char, 128> filename_;
1541 FILE* file_; 1541 FILE* file_;
1542 int scope_depth_; 1542 int scope_depth_;
1543 }; 1543 };
1544 1544
1545 } } // namespace v8::internal 1545 } } // namespace v8::internal
1546 1546
1547 #endif // V8_ISOLATE_H_ 1547 #endif // V8_ISOLATE_H_
OLDNEW
« no previous file with comments | « no previous file | src/isolate.cc » ('j') | src/isolate.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698