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

Unified Diff: runtime/vm/scopes.h

Issue 1409113006: - Some cleanup of dynamic_type usage. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 2 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 | « runtime/vm/parser.cc ('k') | runtime/vm/snapshot.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/scopes.h
diff --git a/runtime/vm/scopes.h b/runtime/vm/scopes.h
index 5faf502eb1857e817f0639df2116522c6092d5f0..e68a244c72bfd48ecb346a841ecc38132b5c2325 100644
--- a/runtime/vm/scopes.h
+++ b/runtime/vm/scopes.h
@@ -34,7 +34,7 @@ class LocalVariable : public ZoneAllocated {
is_invisible_(false),
is_captured_parameter_(false),
index_(LocalVariable::kUninitializedIndex) {
- ASSERT(type.IsZoneHandle());
+ ASSERT(type.IsZoneHandle() || type.IsReadOnlyHandle());
Florian Schneider 2015/10/27 11:49:00 Equivalent to type.IsNotTemporaryScopedHandle().
ASSERT(type.IsFinalized());
ASSERT(name.IsSymbol());
}
« no previous file with comments | « runtime/vm/parser.cc ('k') | runtime/vm/snapshot.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698