Index: src/compiler.h |
diff --git a/src/compiler.h b/src/compiler.h |
index 13ba4a71f9f7d74fc0fab7bdbdd7ed44ce318dfa..eb87b5570e37a520b011593c35166976f6a615c2 100644 |
--- a/src/compiler.h |
+++ b/src/compiler.h |
@@ -294,7 +294,7 @@ class CompilationInfo { |
bool IsOptimizing() const { return mode_ == OPTIMIZE; } |
bool IsStub() const { return mode_ == STUB; } |
void SetOptimizing(BailoutId osr_ast_id, Handle<Code> unoptimized) { |
- DCHECK(!shared_info().is_null()); |
+ DCHECK(has_shared_info()); |
SetMode(OPTIMIZE); |
osr_ast_id_ = osr_ast_id; |
unoptimized_code_ = unoptimized; |