Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(78)

Side by Side Diff: test/unittests/compiler/simplified-operator-unittest.cc

Issue 1295433002: [runtime] Remove useless IN builtin. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: REBASE again. Remove unused ReplaceWithBuiltinCall. Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « test/unittests/compiler/node-test-utils.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/compiler/opcodes.h" 5 #include "src/compiler/opcodes.h"
6 #include "src/compiler/operator.h" 6 #include "src/compiler/operator.h"
7 #include "src/compiler/operator-properties.h" 7 #include "src/compiler/operator-properties.h"
8 #include "src/compiler/simplified-operator.h" 8 #include "src/compiler/simplified-operator.h"
9 #include "src/types-inl.h" 9 #include "src/types-inl.h"
10 #include "test/unittests/test-utils.h" 10 #include "test/unittests/test-utils.h"
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 PURE(StringLessThan, Operator::kNoProperties, 2), 55 PURE(StringLessThan, Operator::kNoProperties, 2),
56 PURE(StringLessThanOrEqual, Operator::kNoProperties, 2), 56 PURE(StringLessThanOrEqual, Operator::kNoProperties, 2),
57 PURE(ChangeTaggedToInt32, Operator::kNoProperties, 1), 57 PURE(ChangeTaggedToInt32, Operator::kNoProperties, 1),
58 PURE(ChangeTaggedToUint32, Operator::kNoProperties, 1), 58 PURE(ChangeTaggedToUint32, Operator::kNoProperties, 1),
59 PURE(ChangeTaggedToFloat64, Operator::kNoProperties, 1), 59 PURE(ChangeTaggedToFloat64, Operator::kNoProperties, 1),
60 PURE(ChangeInt32ToTagged, Operator::kNoProperties, 1), 60 PURE(ChangeInt32ToTagged, Operator::kNoProperties, 1),
61 PURE(ChangeUint32ToTagged, Operator::kNoProperties, 1), 61 PURE(ChangeUint32ToTagged, Operator::kNoProperties, 1),
62 PURE(ChangeFloat64ToTagged, Operator::kNoProperties, 1), 62 PURE(ChangeFloat64ToTagged, Operator::kNoProperties, 1),
63 PURE(ChangeBoolToBit, Operator::kNoProperties, 1), 63 PURE(ChangeBoolToBit, Operator::kNoProperties, 1),
64 PURE(ChangeBitToBool, Operator::kNoProperties, 1), 64 PURE(ChangeBitToBool, Operator::kNoProperties, 1),
65 PURE(ObjectIsSmi, Operator::kNoProperties, 1), 65 PURE(ObjectIsSmi, Operator::kNoProperties, 1)
66 PURE(ObjectIsNonNegativeSmi, Operator::kNoProperties, 1)
67 #undef PURE 66 #undef PURE
68 }; 67 };
69 68
70 } // namespace 69 } // namespace
71 70
72 71
73 class SimplifiedPureOperatorTest 72 class SimplifiedPureOperatorTest
74 : public TestWithZone, 73 : public TestWithZone,
75 public ::testing::WithParamInterface<PureOperator> {}; 74 public ::testing::WithParamInterface<PureOperator> {};
76 75
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
278 } 277 }
279 278
280 279
281 INSTANTIATE_TEST_CASE_P(SimplifiedOperatorTest, 280 INSTANTIATE_TEST_CASE_P(SimplifiedOperatorTest,
282 SimplifiedElementAccessOperatorTest, 281 SimplifiedElementAccessOperatorTest,
283 ::testing::ValuesIn(kElementAccesses)); 282 ::testing::ValuesIn(kElementAccesses));
284 283
285 } // namespace compiler 284 } // namespace compiler
286 } // namespace internal 285 } // namespace internal
287 } // namespace v8 286 } // namespace v8
OLDNEW
« no previous file with comments | « test/unittests/compiler/node-test-utils.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698