Index: src/runtime.cc |
diff --git a/src/runtime.cc b/src/runtime.cc |
index 0a8fbebfb0cd0ae3c316438ae79d432d55818a71..d7f8f6c14e7c28a86ec0d3688ef22fae7821e86e 100644 |
--- a/src/runtime.cc |
+++ b/src/runtime.cc |
@@ -8689,8 +8689,8 @@ RUNTIME_FUNCTION(MaybeObject*, Runtime_Apply) { |
CONVERT_ARG_HANDLE_CHECKED(JSObject, arguments, 2); |
CONVERT_SMI_ARG_CHECKED(offset, 3); |
CONVERT_SMI_ARG_CHECKED(argc, 4); |
- ASSERT(offset >= 0); |
- ASSERT(argc >= 0); |
+ RUNTIME_ASSERT(offset >= 0); |
+ RUNTIME_ASSERT(argc >= 0); |
// If there are too many arguments, allocate argv via malloc. |
const int argv_small_size = 10; |