Index: src/compiler/typer.cc |
diff --git a/src/compiler/typer.cc b/src/compiler/typer.cc |
index c25a30230ecc19e2f6aa828bb6a4f86cfe8dd7c9..1620c790c98a8e98a1cafffaa8eb94a9479b3413 100644 |
--- a/src/compiler/typer.cc |
+++ b/src/compiler/typer.cc |
@@ -255,7 +255,6 @@ class Typer::Visitor : public Reducer { |
JS_SIMPLE_BINOP_LIST(DECLARE_METHOD) |
#undef DECLARE_METHOD |
- static Type* JSUnaryNotTyper(Type*, Typer*); |
static Type* JSTypeOfTyper(Type*, Typer*); |
static Type* JSLoadPropertyTyper(Type*, Type*, Typer*); |
static Type* JSCallFunctionTyper(Type*, Typer*); |
@@ -1143,16 +1142,6 @@ Type* Typer::Visitor::JSModulusTyper(Type* lhs, Type* rhs, Typer* t) { |
// JS unary operators. |
-Type* Typer::Visitor::JSUnaryNotTyper(Type* type, Typer* t) { |
- return Invert(ToBoolean(type, t), t); |
-} |
- |
- |
-Type* Typer::Visitor::TypeJSUnaryNot(Node* node) { |
- return TypeUnaryOp(node, JSUnaryNotTyper); |
-} |
- |
- |
Type* Typer::Visitor::JSTypeOfTyper(Type* type, Typer* t) { |
Factory* const f = t->isolate()->factory(); |
if (type->Is(Type::Boolean())) { |