Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1320)

Unified Diff: src/objects-debug.cc

Issue 1081033004: Do not inline store if field map was cleared. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix comment Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/hydrogen.cc ('k') | test/mjsunit/regress/regress-4023.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects-debug.cc
diff --git a/src/objects-debug.cc b/src/objects-debug.cc
index 69699885d02e899d61f5bec666dff82599022964..3495ad65a6c98f17ffc0c97f42a14b05f82579db 100644
--- a/src/objects-debug.cc
+++ b/src/objects-debug.cc
@@ -290,7 +290,7 @@ void JSObject::JSObjectVerify() {
if (r.IsHeapObject()) DCHECK(value->IsHeapObject());
HeapType* field_type = descriptors->GetFieldType(i);
bool type_is_none = field_type->Is(HeapType::None());
- bool type_is_any = field_type->Is(HeapType::Any());
+ bool type_is_any = HeapType::Any()->Is(field_type);
if (r.IsNone()) {
CHECK(type_is_none);
} else if (!type_is_any && !(type_is_none && r.IsHeapObject())) {
« no previous file with comments | « src/hydrogen.cc ('k') | test/mjsunit/regress/regress-4023.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698