diff options
author | Fedor Indutny <fedor@indutny.com> | 2014-10-10 14:49:02 +0400 |
---|---|---|
committer | Fedor Indutny <fedor@indutny.com> | 2014-10-10 14:49:02 +0400 |
commit | 6bcea4ff932144a5fd02affefd45164fbf471e67 (patch) | |
tree | a8e078c679b12f0daebe10ed254239cb0d79e146 /deps/v8/src/objects-debug.cc | |
parent | 4fae2356d105e394115188a814097c4a95ae0c5d (diff) | |
download | android-node-v8-6bcea4ff932144a5fd02affefd45164fbf471e67.tar.gz android-node-v8-6bcea4ff932144a5fd02affefd45164fbf471e67.tar.bz2 android-node-v8-6bcea4ff932144a5fd02affefd45164fbf471e67.zip |
deps: update v8 to 3.29.93.1
Diffstat (limited to 'deps/v8/src/objects-debug.cc')
-rw-r--r-- | deps/v8/src/objects-debug.cc | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/deps/v8/src/objects-debug.cc b/deps/v8/src/objects-debug.cc index 4834ef2033..1d5af5b9e7 100644 --- a/deps/v8/src/objects-debug.cc +++ b/deps/v8/src/objects-debug.cc @@ -371,9 +371,9 @@ void FixedDoubleArray::FixedDoubleArrayVerify() { if (!is_the_hole(i)) { double value = get_scalar(i); CHECK(!std::isnan(value) || - (BitCast<uint64_t>(value) == - BitCast<uint64_t>(canonical_not_the_hole_nan_as_double())) || - ((BitCast<uint64_t>(value) & Double::kSignMask) != 0)); + (bit_cast<uint64_t>(value) == + bit_cast<uint64_t>(canonical_not_the_hole_nan_as_double())) || + ((bit_cast<uint64_t>(value) & Double::kSignMask) != 0)); } } } @@ -547,7 +547,7 @@ void JSGlobalProxy::JSGlobalProxyVerify() { VerifyObjectField(JSGlobalProxy::kNativeContextOffset); // Make sure that this object has no properties, elements. CHECK_EQ(0, properties()->length()); - CHECK(HasFastSmiElements()); + CHECK_EQ(FAST_HOLEY_SMI_ELEMENTS, GetElementsKind()); CHECK_EQ(0, FixedArray::cast(elements())->length()); } @@ -752,19 +752,21 @@ void JSRegExp::JSRegExpVerify() { bool is_native = RegExpImpl::UsesNativeRegExp(); FixedArray* arr = FixedArray::cast(data()); - Object* ascii_data = arr->get(JSRegExp::kIrregexpASCIICodeIndex); + Object* one_byte_data = arr->get(JSRegExp::kIrregexpLatin1CodeIndex); // Smi : Not compiled yet (-1) or code prepared for flushing. // JSObject: Compilation error. // Code/ByteArray: Compiled code. - CHECK(ascii_data->IsSmi() || - (is_native ? ascii_data->IsCode() : ascii_data->IsByteArray())); + CHECK( + one_byte_data->IsSmi() || + (is_native ? one_byte_data->IsCode() : one_byte_data->IsByteArray())); Object* uc16_data = arr->get(JSRegExp::kIrregexpUC16CodeIndex); CHECK(uc16_data->IsSmi() || (is_native ? uc16_data->IsCode() : uc16_data->IsByteArray())); - Object* ascii_saved = arr->get(JSRegExp::kIrregexpASCIICodeSavedIndex); - CHECK(ascii_saved->IsSmi() || ascii_saved->IsString() || - ascii_saved->IsCode()); + Object* one_byte_saved = + arr->get(JSRegExp::kIrregexpLatin1CodeSavedIndex); + CHECK(one_byte_saved->IsSmi() || one_byte_saved->IsString() || + one_byte_saved->IsCode()); Object* uc16_saved = arr->get(JSRegExp::kIrregexpUC16CodeSavedIndex); CHECK(uc16_saved->IsSmi() || uc16_saved->IsString() || uc16_saved->IsCode()); |