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

Unified Diff: src/runtime/runtime-utils.h

Issue 2038013002: [runtime] Remove RUNTIME_ASSERT_HANDLIFIED. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 6 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/runtime/runtime-literals.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/runtime/runtime-utils.h
diff --git a/src/runtime/runtime-utils.h b/src/runtime/runtime-utils.h
index 17c78d5a0b5ca5f4c2266b62f04e4c686f2ad4cd..cf5d462f99ae9d9ddb6aeb76975d36739951cedb 100644
--- a/src/runtime/runtime-utils.h
+++ b/src/runtime/runtime-utils.h
@@ -21,15 +21,6 @@ namespace internal {
} \
} while (0)
-#define RUNTIME_ASSERT_HANDLIFIED(value, T) \
- do { \
- if (!(value)) { \
- V8_RuntimeError(__FILE__, __LINE__, #value); \
- isolate->ThrowIllegalOperation(); \
- return MaybeHandle<T>(); \
- } \
- } while (0)
-
#else
#define RUNTIME_ASSERT(value) \
@@ -39,14 +30,6 @@ namespace internal {
} \
} while (0)
-#define RUNTIME_ASSERT_HANDLIFIED(value, T) \
- do { \
- if (!(value)) { \
- isolate->ThrowIllegalOperation(); \
- return MaybeHandle<T>(); \
- } \
- } while (0)
-
#endif
// Cast the given object to a value of the specified type and store
« no previous file with comments | « src/runtime/runtime-literals.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698