| Index: src/runtime/runtime-compiler.cc
|
| diff --git a/src/runtime/runtime-compiler.cc b/src/runtime/runtime-compiler.cc
|
| index c8fc9e8351227dae93070166bfe7b604085ee387..490c3f0684313f038bf4a6fe50eba4a721f83b97 100644
|
| --- a/src/runtime/runtime-compiler.cc
|
| +++ b/src/runtime/runtime-compiler.cc
|
| @@ -202,7 +202,7 @@ RUNTIME_FUNCTION(Runtime_CompileForOnStackReplacement) {
|
| // We're not prepared to handle a function with arguments object.
|
| DCHECK(!function->shared()->uses_arguments());
|
|
|
| - RUNTIME_ASSERT(FLAG_use_osr);
|
| + CHECK(FLAG_use_osr);
|
|
|
| // Passing the PC in the javascript frame from the caller directly is
|
| // not GC safe, so we walk the stack to get it.
|
|
|