| Index: src/objects-inl.h
|
| diff --git a/src/objects-inl.h b/src/objects-inl.h
|
| index e5caa073d48fbc6b97d841911e3465a08e5773ec..efe4f14da65f2677e9f6905a7ab6c5d32f042e14 100644
|
| --- a/src/objects-inl.h
|
| +++ b/src/objects-inl.h
|
| @@ -2588,7 +2588,6 @@ Code::ExtraICState Code::extra_ic_state() {
|
|
|
|
|
| PropertyType Code::type() {
|
| - ASSERT(ic_state() == MONOMORPHIC);
|
| return ExtractTypeFromFlags(flags());
|
| }
|
|
|
| @@ -2705,14 +2704,14 @@ void Code::set_check_type(CheckType value) {
|
|
|
|
|
| ExternalArrayType Code::external_array_type() {
|
| - ASSERT(is_external_array_load_stub() || is_external_array_store_stub());
|
| + ASSERT(is_keyed_load_stub() || is_keyed_store_stub());
|
| byte type = READ_BYTE_FIELD(this, kExternalArrayTypeOffset);
|
| return static_cast<ExternalArrayType>(type);
|
| }
|
|
|
|
|
| void Code::set_external_array_type(ExternalArrayType value) {
|
| - ASSERT(is_external_array_load_stub() || is_external_array_store_stub());
|
| + ASSERT(is_keyed_load_stub() || is_keyed_store_stub());
|
| WRITE_BYTE_FIELD(this, kExternalArrayTypeOffset, value);
|
| }
|
|
|
|
|