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

Side by Side Diff: src/compiler/js-operator.h

Issue 653093002: Test monotonicity of expression typings. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | src/compiler/js-operator.cc » ('j') | test/cctest/test-types.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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 #ifndef V8_COMPILER_JS_OPERATOR_H_ 5 #ifndef V8_COMPILER_JS_OPERATOR_H_
6 #define V8_COMPILER_JS_OPERATOR_H_ 6 #define V8_COMPILER_JS_OPERATOR_H_
7 7
8 #include "src/runtime/runtime.h" 8 #include "src/runtime/runtime.h"
9 #include "src/unique.h" 9 #include "src/unique.h"
10 10
11
12 #define SHARED_SIMPLE_BINOP_LIST(V) \
rossberg 2014/10/15 12:37:27 Please do not expose this just for the sake of a t
neis1 2014/10/15 13:56:47 Done.
13 V(Equal, Operator::kNoProperties, 2, 1) \
14 V(NotEqual, Operator::kNoProperties, 2, 1) \
15 V(StrictEqual, Operator::kPure, 2, 1) \
16 V(StrictNotEqual, Operator::kPure, 2, 1) \
17 V(LessThan, Operator::kNoProperties, 2, 1) \
18 V(GreaterThan, Operator::kNoProperties, 2, 1) \
19 V(LessThanOrEqual, Operator::kNoProperties, 2, 1) \
20 V(GreaterThanOrEqual, Operator::kNoProperties, 2, 1) \
21 V(BitwiseOr, Operator::kNoProperties, 2, 1) \
22 V(BitwiseXor, Operator::kNoProperties, 2, 1) \
23 V(BitwiseAnd, Operator::kNoProperties, 2, 1) \
24 V(ShiftLeft, Operator::kNoProperties, 2, 1) \
25 V(ShiftRight, Operator::kNoProperties, 2, 1) \
26 V(ShiftRightLogical, Operator::kNoProperties, 2, 1) \
27 V(Add, Operator::kNoProperties, 2, 1) \
28 V(Subtract, Operator::kNoProperties, 2, 1) \
29 V(Multiply, Operator::kNoProperties, 2, 1) \
30 V(Divide, Operator::kNoProperties, 2, 1) \
31 V(Modulus, Operator::kNoProperties, 2, 1)
32
33
11 namespace v8 { 34 namespace v8 {
12 namespace internal { 35 namespace internal {
13 namespace compiler { 36 namespace compiler {
14 37
15 // Forward declarations. 38 // Forward declarations.
16 class Operator; 39 class Operator;
17 struct JSOperatorBuilderImpl; 40 struct JSOperatorBuilderImpl;
18 41
19 42
20 // Defines the arity and the call flags for a JavaScript function call. This is 43 // Defines the arity and the call flags for a JavaScript function call. This is
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 287
265 const JSOperatorBuilderImpl& impl_; 288 const JSOperatorBuilderImpl& impl_;
266 Zone* const zone_; 289 Zone* const zone_;
267 }; 290 };
268 291
269 } // namespace compiler 292 } // namespace compiler
270 } // namespace internal 293 } // namespace internal
271 } // namespace v8 294 } // namespace v8
272 295
273 #endif // V8_COMPILER_JS_OPERATOR_H_ 296 #endif // V8_COMPILER_JS_OPERATOR_H_
OLDNEW
« no previous file with comments | « no previous file | src/compiler/js-operator.cc » ('j') | test/cctest/test-types.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698