Chromium Code Reviews| 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()); |
| } |