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}
This commit is contained in:
parent
9393e59d23
commit
148e51b3f3
@ -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
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user