From d721ea6b9d06e7f5de93fd1fe792c0e04510d937 Mon Sep 17 00:00:00 2001 From: "bmeurer@chromium.org" Date: Tue, 30 Sep 2014 10:55:02 +0000 Subject: [PATCH] Fix windows build after r24322. TBR=dcarney@chromium.org Review URL: https://codereview.chromium.org/617803002 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24324 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- test/cctest/compiler/test-operator.cc | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/test/cctest/compiler/test-operator.cc b/test/cctest/compiler/test-operator.cc index 3df76e8..7d205ec 100644 --- a/test/cctest/compiler/test-operator.cc +++ b/test/cctest/compiler/test-operator.cc @@ -12,8 +12,6 @@ using namespace v8::internal; using namespace v8::internal::compiler; -#define NaN (v8::base::OS::nan_value()) - TEST(TestOperatorMnemonic) { SimpleOperator op1(10, Operator::kNoProperties, 0, 0, "ThisOne"); CHECK_EQ(0, strcmp(op1.mnemonic(), "ThisOne")); @@ -225,18 +223,3 @@ TEST(TestOperator1doubleEquals) { CHECK(!op3.Equals(&op4a)); CHECK(!op3.Equals(&op4b)); } - - -TEST(TestOperator1doublePrint) { - Operator1 op1(12, Operator::kNoProperties, 0, 1, "Op1Test", 0); - CHECK_EQ("Op1Test[0]", OperatorToString(&op1).get()); - - Operator1 op2(12, Operator::kNoProperties, 0, 1, "Op1Test", 7.3); - CHECK_EQ("Op1Test[7.3]", OperatorToString(&op2).get()); - - Operator1 op3(12, Operator::kNoProperties, 0, 1, "FooBar", 2e+123); - CHECK_EQ("FooBar[2e+123]", OperatorToString(&op3).get()); - - Operator1 op5(12, Operator::kNoProperties, 0, 1, "BarFoo", NaN); - CHECK_EQ("BarFoo[nan]", OperatorToString(&op5).get()); -} -- 2.7.4