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

Unified Diff: src/messages.h

Issue 2206573002: Move NoSideEffectToString to C++ (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Address comments Created 4 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/js/messages.js ('k') | src/messages.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/messages.h
diff --git a/src/messages.h b/src/messages.h
index 69c1e1e623a6c36b5b0d1fc559b398387975edc1..d63621f9d7fdefacb50cb031e29d802e4bb4ba35 100644
--- a/src/messages.h
+++ b/src/messages.h
@@ -95,9 +95,15 @@ class ErrorUtils : public AllStatic {
public:
static MaybeHandle<Object> Construct(
Isolate* isolate, Handle<JSFunction> target, Handle<Object> new_target,
- Handle<Object> message, FrameSkipMode mode, bool suppress_detailed_trace);
+ Handle<Object> message, FrameSkipMode mode, Handle<Object> caller,
+ bool suppress_detailed_trace);
static MaybeHandle<String> ToString(Isolate* isolate, Handle<Object> recv);
+
+ static MaybeHandle<Object> MakeGenericError(
+ Isolate* isolate, Handle<JSFunction> constructor, int template_index,
+ Handle<Object> arg0, Handle<Object> arg1, Handle<Object> arg2,
+ FrameSkipMode mode);
};
class CallSiteUtils : public AllStatic {
« 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