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

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

Issue 716833002: Various clean-ups after top-level lexical declarations are done. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Patch for landing Created 6 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « test/cctest/test-serialize.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/js-operator.h" 5 #include "src/compiler/js-operator.h"
6 #include "src/compiler/operator-properties-inl.h" 6 #include "src/compiler/operator-properties-inl.h"
7 #include "test/unittests/test-utils.h" 7 #include "test/unittests/test-utils.h"
8 8
9 namespace v8 { 9 namespace v8 {
10 namespace internal { 10 namespace internal {
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 SHARED(Yield, Operator::kNoProperties, 1, 0, 1, 1, 1, 1), 70 SHARED(Yield, Operator::kNoProperties, 1, 0, 1, 1, 1, 1),
71 SHARED(Create, Operator::kEliminatable, 0, 0, 1, 1, 1, 1), 71 SHARED(Create, Operator::kEliminatable, 0, 0, 1, 1, 1, 1),
72 SHARED(HasProperty, Operator::kNoProperties, 2, 1, 1, 1, 1, 1), 72 SHARED(HasProperty, Operator::kNoProperties, 2, 1, 1, 1, 1, 1),
73 SHARED(TypeOf, Operator::kPure, 1, 0, 0, 0, 1, 0), 73 SHARED(TypeOf, Operator::kPure, 1, 0, 0, 0, 1, 0),
74 SHARED(InstanceOf, Operator::kNoProperties, 2, 1, 1, 1, 1, 1), 74 SHARED(InstanceOf, Operator::kNoProperties, 2, 1, 1, 1, 1, 1),
75 SHARED(Debugger, Operator::kNoProperties, 0, 0, 1, 1, 0, 1), 75 SHARED(Debugger, Operator::kNoProperties, 0, 0, 1, 1, 0, 1),
76 SHARED(CreateFunctionContext, Operator::kNoProperties, 1, 0, 1, 1, 1, 1), 76 SHARED(CreateFunctionContext, Operator::kNoProperties, 1, 0, 1, 1, 1, 1),
77 SHARED(CreateWithContext, Operator::kNoProperties, 2, 0, 1, 1, 1, 1), 77 SHARED(CreateWithContext, Operator::kNoProperties, 2, 0, 1, 1, 1, 1),
78 SHARED(CreateBlockContext, Operator::kNoProperties, 2, 0, 1, 1, 1, 1), 78 SHARED(CreateBlockContext, Operator::kNoProperties, 2, 0, 1, 1, 1, 1),
79 SHARED(CreateModuleContext, Operator::kNoProperties, 2, 0, 1, 1, 1, 1), 79 SHARED(CreateModuleContext, Operator::kNoProperties, 2, 0, 1, 1, 1, 1),
80 SHARED(CreateGlobalContext, Operator::kNoProperties, 2, 0, 1, 1, 1, 1) 80 SHARED(CreateScriptContext, Operator::kNoProperties, 2, 0, 1, 1, 1, 1)
81 #undef SHARED 81 #undef SHARED
82 }; 82 };
83 83
84 } // namespace 84 } // namespace
85 85
86 86
87 class JSSharedOperatorTest 87 class JSSharedOperatorTest
88 : public TestWithZone, 88 : public TestWithZone,
89 public ::testing::WithParamInterface<SharedOperator> {}; 89 public ::testing::WithParamInterface<SharedOperator> {};
90 90
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 EXPECT_EQ(sop.properties, op->properties()); 138 EXPECT_EQ(sop.properties, op->properties());
139 } 139 }
140 140
141 141
142 INSTANTIATE_TEST_CASE_P(JSOperatorTest, JSSharedOperatorTest, 142 INSTANTIATE_TEST_CASE_P(JSOperatorTest, JSSharedOperatorTest,
143 ::testing::ValuesIn(kSharedOperators)); 143 ::testing::ValuesIn(kSharedOperators));
144 144
145 } // namespace compiler 145 } // namespace compiler
146 } // namespace internal 146 } // namespace internal
147 } // namespace v8 147 } // namespace v8
OLDNEW
« no previous file with comments | « test/cctest/test-serialize.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698