Index: src/runtime.cc |
diff --git a/src/runtime.cc b/src/runtime.cc |
index 1aaa3cd92a70b10d8521ffde464cec500aecd393..b8fe2b99dd0a7841eba268e63c1f2c0faae777ce 100644 |
--- a/src/runtime.cc |
+++ b/src/runtime.cc |
@@ -3028,7 +3028,7 @@ RUNTIME_FUNCTION(Runtime_FunctionSetPrototype) { |
CONVERT_ARG_HANDLE_CHECKED(JSFunction, fun, 0); |
CONVERT_ARG_HANDLE_CHECKED(Object, value, 1); |
- ASSERT(fun->should_have_prototype()); |
+ RUNTIME_ASSERT(fun->should_have_prototype()); |
Accessors::FunctionSetPrototype(fun, value); |
return args[0]; // return TOS |
} |