Index: src/assembler.cc |
diff --git a/src/assembler.cc b/src/assembler.cc |
index d1bf5c6948f890af708458bd2d0a762e7a88a2df..c0290ebac2d8148588c4403b422f06a2ea7d5a6c 100644 |
--- a/src/assembler.cc |
+++ b/src/assembler.cc |
@@ -51,7 +51,6 @@ |
#include "src/ic/ic.h" |
#include "src/ic/stub-cache.h" |
#include "src/ostreams.h" |
-#include "src/parsing/token.h" |
#include "src/profiler/cpu-profiler.h" |
#include "src/regexp/jsregexp.h" |
#include "src/regexp/regexp-macro-assembler.h" |
@@ -1521,23 +1520,6 @@ ExternalReference ExternalReference::power_double_int_function( |
} |
-bool EvalComparison(Token::Value op, double op1, double op2) { |
- DCHECK(Token::IsCompareOp(op)); |
- switch (op) { |
- case Token::EQ: |
- case Token::EQ_STRICT: return (op1 == op2); |
- case Token::NE: return (op1 != op2); |
- case Token::LT: return (op1 < op2); |
- case Token::GT: return (op1 > op2); |
- case Token::LTE: return (op1 <= op2); |
- case Token::GTE: return (op1 >= op2); |
- default: |
- UNREACHABLE(); |
- return false; |
- } |
-} |
- |
- |
ExternalReference ExternalReference::mod_two_doubles_operation( |
Isolate* isolate) { |
return ExternalReference(Redirect(isolate, |