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

Unified Diff: runtime/vm/dart_api_impl.cc

Issue 304703002: Split GuardField into GuardFieldType and GuardFieldLength instructions. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 7 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
Index: runtime/vm/dart_api_impl.cc
diff --git a/runtime/vm/dart_api_impl.cc b/runtime/vm/dart_api_impl.cc
index 6c89434f9f61922d510ada6cc1f1ed48d9258304..b967e017e9a5963f64aeae04351d9cbd82676f36 100644
--- a/runtime/vm/dart_api_impl.cc
+++ b/runtime/vm/dart_api_impl.cc
@@ -3524,7 +3524,7 @@ DART_EXPORT Dart_Handle Dart_Allocate(Dart_Handle type) {
if (field.is_static()) {
continue;
}
- field.UpdateGuardedCidAndLength(Object::null_object());
+ field.RecordStore(Object::null_object());
}
}
}

Powered by Google App Engine
This is Rietveld 408576698