Index: src/messages.h |
diff --git a/src/messages.h b/src/messages.h |
index 164ede114ebde9b68d024d6387c44bc5dd94652c..aeba83ce72703517adb020774653280680b04c86 100644 |
--- a/src/messages.h |
+++ b/src/messages.h |
@@ -70,21 +70,6 @@ |
Handle<JSObject> wasm_obj_; |
uint32_t wasm_func_index_ = static_cast<uint32_t>(-1); |
}; |
- |
-// Determines how stack trace collection skips frames. |
-enum FrameSkipMode { |
- // Unconditionally skips the first frame. Used e.g. when the Error constructor |
- // is called, in which case the first frame is always a BUILTIN_EXIT frame. |
- SKIP_FIRST, |
- // Skip all frames until a specified caller function is seen. |
- SKIP_UNTIL_SEEN, |
- SKIP_NONE, |
-}; |
- |
-MaybeHandle<Object> ConstructError(Isolate* isolate, Handle<JSFunction> target, |
- Handle<Object> new_target, |
- Handle<Object> message, FrameSkipMode mode, |
- bool suppress_detailed_trace); |
#define MESSAGE_TEMPLATES(T) \ |
/* Error */ \ |