| Index: src/runtime/runtime-literals.cc
|
| diff --git a/src/runtime/runtime-literals.cc b/src/runtime/runtime-literals.cc
|
| index 4b94f2ab7c8cec9bd322e81b6eb65707eabcec80..49a45b1e93d61abc9bd35574de0e75f3ee3f2ab9 100644
|
| --- a/src/runtime/runtime-literals.cc
|
| +++ b/src/runtime/runtime-literals.cc
|
| @@ -229,8 +229,8 @@ RUNTIME_FUNCTION(Runtime_CreateObjectLiteral) {
|
| bool should_have_fast_elements = (flags & ObjectLiteral::kFastElements) != 0;
|
| bool enable_mementos = (flags & ObjectLiteral::kDisableMementos) == 0;
|
|
|
| - RUNTIME_ASSERT(literals_index >= 0 &&
|
| - literals_index < literals->literals_count());
|
| + CHECK(literals_index >= 0);
|
| + CHECK(literals_index < literals->literals_count());
|
|
|
| // Check if boilerplate exists. If not, create it first.
|
| Handle<Object> literal_site(literals->literal(literals_index), isolate);
|
|
|