Index: src/compiler/ast-graph-builder.cc |
diff --git a/src/compiler/ast-graph-builder.cc b/src/compiler/ast-graph-builder.cc |
index b04f5a40e1aa098374848d301abab987a8bd59c2..c6b0048abc071126e0383e252fe28e78e9adbcf4 100644 |
--- a/src/compiler/ast-graph-builder.cc |
+++ b/src/compiler/ast-graph-builder.cc |
@@ -2877,6 +2877,7 @@ void AstGraphBuilder::VisitCompareOperation(CompareOperation* expr) { |
op = javascript()->GreaterThanOrEqual(); |
break; |
case Token::INSTANCEOF: |
+ DCHECK(!FLAG_harmony_instanceof); |
op = javascript()->InstanceOf(); |
break; |
case Token::IN: |