Index: src/compiler/node-matchers.cc |
diff --git a/src/compiler/node-matchers.cc b/src/compiler/node-matchers.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..c6ae39000c025ae98f6f1b8a0ad67faf148c185e |
--- /dev/null |
+++ b/src/compiler/node-matchers.cc |
@@ -0,0 +1,17 @@ |
+// Copyright 2015 the V8 project authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#include "src/compiler/node-matchers.h" |
+ |
+namespace v8 { |
+namespace internal { |
+namespace compiler { |
+ |
+bool NodeMatcher::IsComparison() const { |
+ return IrOpcode::IsComparisonOpcode(opcode()); |
+} |
+ |
+} // namespace compiler |
+} // namespace internal |
+} // namespace v8 |