Index: test/cctest/compiler/test-typer.cc |
diff --git a/test/cctest/compiler/test-typer.cc b/test/cctest/compiler/test-typer.cc |
index ae65840c702d8b05c51f4c91a140982ec4cbc5b3..618f5c1307db854f3e0e6ae69ce790000b9ebbb5 100644 |
--- a/test/cctest/compiler/test-typer.cc |
+++ b/test/cctest/compiler/test-typer.cc |
@@ -4,6 +4,7 @@ |
#include <functional> |
+#include "src/codegen.h" |
#include "src/compiler/node-properties-inl.h" |
#include "src/compiler/typer.h" |
#include "test/cctest/cctest.h" |
@@ -216,6 +217,12 @@ TEST(TypeJSDivide) { |
} |
+TEST(TypeJSModulus) { |
+ TyperTester t; |
+ t.TestBinaryArithOp(t.javascript_.Modulus(), modulo); |
+} |
+ |
+ |
TEST(TypeJSBitwiseOr) { |
TyperTester t; |
t.TestBinaryBitOp(t.javascript_.BitwiseOr(), bit_or); |