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

Unified Diff: test/compiler-unittests/change-lowering-unittest.cc

Issue 463803003: Tests for ChangeLowering are target tests since they use the Linkage. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | test/compiler-unittests/compiler-unittests.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/compiler-unittests/change-lowering-unittest.cc
diff --git a/test/compiler-unittests/change-lowering-unittest.cc b/test/compiler-unittests/change-lowering-unittest.cc
index 70d681db5cae3c4cef403d17526be272157a58d1..68de48013c067fd2ba63ad42196ecb0c8a9168c9 100644
--- a/test/compiler-unittests/change-lowering-unittest.cc
+++ b/test/compiler-unittests/change-lowering-unittest.cc
@@ -66,7 +66,7 @@ typedef ::testing::Types<int32_t, int64_t> ChangeLoweringTypes;
TYPED_TEST_CASE(ChangeLoweringTest, ChangeLoweringTypes);
-TYPED_TEST(ChangeLoweringTest, ChangeBitToBool) {
+TARGET_TYPED_TEST(ChangeLoweringTest, ChangeBitToBool) {
Node* val = this->Parameter(0);
Node* node =
this->graph()->NewNode(this->simplified()->ChangeBitToBool(), val);
@@ -92,7 +92,7 @@ TYPED_TEST(ChangeLoweringTest, ChangeBitToBool) {
}
-TYPED_TEST(ChangeLoweringTest, StringAdd) {
+TARGET_TYPED_TEST(ChangeLoweringTest, StringAdd) {
Node* node = this->graph()->NewNode(this->simplified()->StringAdd(),
this->Parameter(0), this->Parameter(1));
Reduction reduction = this->Reduce(node);
@@ -106,7 +106,7 @@ class ChangeLowering32Test : public ChangeLoweringTest<int32_t> {
};
-TEST_F(ChangeLowering32Test, ChangeBoolToBit) {
+TARGET_TEST_F(ChangeLowering32Test, ChangeBoolToBit) {
Node* val = Parameter(0);
Node* node = graph()->NewNode(simplified()->ChangeBoolToBit(), val);
Reduction reduction = Reduce(node);
@@ -117,7 +117,7 @@ TEST_F(ChangeLowering32Test, ChangeBoolToBit) {
}
-TEST_F(ChangeLowering32Test, ChangeInt32ToTagged) {
+TARGET_TEST_F(ChangeLowering32Test, ChangeInt32ToTagged) {
Node* val = Parameter(0);
Node* node = graph()->NewNode(simplified()->ChangeInt32ToTagged(), val);
Reduction reduction = Reduce(node);
@@ -155,7 +155,7 @@ TEST_F(ChangeLowering32Test, ChangeInt32ToTagged) {
}
-TEST_F(ChangeLowering32Test, ChangeTaggedToFloat64) {
+TARGET_TEST_F(ChangeLowering32Test, ChangeTaggedToFloat64) {
Node* val = Parameter(0);
Node* node = graph()->NewNode(simplified()->ChangeTaggedToFloat64(), val);
Reduction reduction = Reduce(node);
@@ -195,7 +195,7 @@ class ChangeLowering64Test : public ChangeLoweringTest<int64_t> {
};
-TEST_F(ChangeLowering64Test, ChangeBoolToBit) {
+TARGET_TEST_F(ChangeLowering64Test, ChangeBoolToBit) {
Node* val = Parameter(0);
Node* node = graph()->NewNode(simplified()->ChangeBoolToBit(), val);
Reduction reduction = Reduce(node);
@@ -206,7 +206,7 @@ TEST_F(ChangeLowering64Test, ChangeBoolToBit) {
}
-TEST_F(ChangeLowering64Test, ChangeInt32ToTagged) {
+TARGET_TEST_F(ChangeLowering64Test, ChangeInt32ToTagged) {
Node* val = Parameter(0);
Node* node = graph()->NewNode(simplified()->ChangeInt32ToTagged(), val);
Reduction reduction = Reduce(node);
@@ -219,7 +219,7 @@ TEST_F(ChangeLowering64Test, ChangeInt32ToTagged) {
}
-TEST_F(ChangeLowering64Test, ChangeTaggedToFloat64) {
+TARGET_TEST_F(ChangeLowering64Test, ChangeTaggedToFloat64) {
Node* val = Parameter(0);
Node* node = graph()->NewNode(simplified()->ChangeTaggedToFloat64(), val);
Reduction reduction = Reduce(node);
« no previous file with comments | « no previous file | test/compiler-unittests/compiler-unittests.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698