Commit 148e51b3 authored by hpayer's avatar hpayer Committed by Commit bot

Unreachable should call V8_Fatal on release builds instead of silently ignoring the error.

BUG=

Review URL: https://codereview.chromium.org/1410713006

Cr-Commit-Position: refs/heads/master@{#31397}
parent 9393e59d
......@@ -29,7 +29,7 @@ extern "C" V8_NORETURN void V8_Fatal(const char* file, int line,
V8_Fatal("", 0, "%s", (msg))
#define UNIMPLEMENTED() \
V8_Fatal("", 0, "unimplemented code")
#define UNREACHABLE() ((void) 0)
#define UNREACHABLE() V8_Fatal("", 0, "unreachable code")
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment