Index: src/compiler.cc |
diff --git a/src/compiler.cc b/src/compiler.cc |
index 299b1d49fc0ecc8c3ab94b77b39683a268726a28..392972cbc9cb4b85c6a08e027e914378a43f3f7f 100644 |
--- a/src/compiler.cc |
+++ b/src/compiler.cc |
@@ -822,6 +822,8 @@ MaybeHandle<Code> GetBaselineCode(Handle<JSFunction> function) { |
ParseInfo parse_info(&zone, handle(function->shared())); |
CompilationInfo info(&parse_info, function); |
+ DCHECK(function->shared()->is_compiled()); |
+ |
// Function no longer needs to be tiered up |
function->shared()->set_marked_for_tier_up(false); |