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

Unified Diff: runtime/vm/object.cc

Issue 1913313002: Turn off background compilation when running with --verify_gc, since the background compilation con… (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 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 | « no previous file | tests/lib/convert/streamed_conversion_json_utf8_decode_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/object.cc
diff --git a/runtime/vm/object.cc b/runtime/vm/object.cc
index 602ea500fefb9c3ca58d61c55b640d2d19b1e834..a78cc8b9c48df2a1167305645c615b2bab048b0f 100644
--- a/runtime/vm/object.cc
+++ b/runtime/vm/object.cc
@@ -15515,6 +15515,10 @@ TokenPosition AbstractType::token_pos() const {
bool AbstractType::IsInstantiated(TrailPtr trail) const {
// AbstractType is an abstract class.
+ // TODO(srdjan) : Remove temporary code.
+ if (Compiler::IsBackgroundCompilation()) {
+ UNREACHABLE();
+ }
UNREACHABLE();
return false;
}
« no previous file with comments | « no previous file | tests/lib/convert/streamed_conversion_json_utf8_decode_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698