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 { |