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

Side by Side Diff: src/messages.h

Issue 1713663002: Revert of Use displayName in Error.stack rendering if present. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 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/js/messages.js ('k') | src/messages.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 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 // The infrastructure used for (localized) message reporting in V8. 5 // The infrastructure used for (localized) message reporting in V8.
6 // 6 //
7 // Note: there's a big unresolved issue about ownership of the data 7 // Note: there's a big unresolved issue about ownership of the data
8 // structures used by this framework. 8 // structures used by this framework.
9 9
10 #ifndef V8_MESSAGES_H_ 10 #ifndef V8_MESSAGES_H_
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 Handle<JSFunction> function_; 44 Handle<JSFunction> function_;
45 }; 45 };
46 46
47 47
48 class CallSite { 48 class CallSite {
49 public: 49 public:
50 CallSite(Isolate* isolate, Handle<JSObject> call_site_obj); 50 CallSite(Isolate* isolate, Handle<JSObject> call_site_obj);
51 51
52 Handle<Object> GetFileName(); 52 Handle<Object> GetFileName();
53 Handle<Object> GetFunctionName(); 53 Handle<Object> GetFunctionName();
54 Handle<Object> GetDebugName();
55 Handle<Object> GetScriptNameOrSourceUrl(); 54 Handle<Object> GetScriptNameOrSourceUrl();
56 Handle<Object> GetMethodName(); 55 Handle<Object> GetMethodName();
57 // Return 1-based line number, including line offset. 56 // Return 1-based line number, including line offset.
58 int GetLineNumber(); 57 int GetLineNumber();
59 // Return 1-based column number, including column offset if first line. 58 // Return 1-based column number, including column offset if first line.
60 int GetColumnNumber(); 59 int GetColumnNumber();
61 bool IsNative(); 60 bool IsNative();
62 bool IsToplevel(); 61 bool IsToplevel();
63 bool IsEval(); 62 bool IsEval();
64 bool IsConstructor(); 63 bool IsConstructor();
(...skipping 500 matching lines...) Expand 10 before | Expand all | Expand 10 after
565 static Handle<String> GetMessage(Isolate* isolate, Handle<Object> data); 564 static Handle<String> GetMessage(Isolate* isolate, Handle<Object> data);
566 static base::SmartArrayPointer<char> GetLocalizedMessage(Isolate* isolate, 565 static base::SmartArrayPointer<char> GetLocalizedMessage(Isolate* isolate,
567 Handle<Object> data); 566 Handle<Object> data);
568 }; 567 };
569 568
570 569
571 } // namespace internal 570 } // namespace internal
572 } // namespace v8 571 } // namespace v8
573 572
574 #endif // V8_MESSAGES_H_ 573 #endif // V8_MESSAGES_H_
OLDNEW
« no previous file with comments | « src/js/messages.js ('k') | src/messages.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698