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

Side by Side Diff: src/compiler/operation-typer.h

Issue 2227533002: [turbofan] Slightly improve typing rule for NumberAdd. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Address comment. Created 4 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 unified diff | Download patch
« no previous file with comments | « no previous file | src/compiler/operation-typer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 the V8 project authors. All rights reserved. 1 // Copyright 2016 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_OPERATION_TYPER_H_ 5 #ifndef V8_COMPILER_OPERATION_TYPER_H_
6 #define V8_COMPILER_OPERATION_TYPER_H_ 6 #define V8_COMPILER_OPERATION_TYPER_H_
7 7
8 #include "src/base/flags.h" 8 #include "src/base/flags.h"
9 #include "src/compiler/opcodes.h" 9 #include "src/compiler/opcodes.h"
10 10
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 Type* AddRanger(double lhs_min, double lhs_max, double rhs_min, 68 Type* AddRanger(double lhs_min, double lhs_max, double rhs_min,
69 double rhs_max); 69 double rhs_max);
70 Type* SubtractRanger(RangeType* lhs, RangeType* rhs); 70 Type* SubtractRanger(RangeType* lhs, RangeType* rhs);
71 Type* MultiplyRanger(Type* lhs, Type* rhs); 71 Type* MultiplyRanger(Type* lhs, Type* rhs);
72 72
73 Zone* zone() const { return zone_; } 73 Zone* zone() const { return zone_; }
74 74
75 Zone* const zone_; 75 Zone* const zone_;
76 TypeCache const& cache_; 76 TypeCache const& cache_;
77 77
78 Type* infinity_;
79 Type* minus_infinity_;
78 Type* singleton_false_; 80 Type* singleton_false_;
79 Type* singleton_true_; 81 Type* singleton_true_;
80 Type* singleton_the_hole_; 82 Type* singleton_the_hole_;
81 Type* signed32ish_; 83 Type* signed32ish_;
82 Type* unsigned32ish_; 84 Type* unsigned32ish_;
83 }; 85 };
84 86
85 } // namespace compiler 87 } // namespace compiler
86 } // namespace internal 88 } // namespace internal
87 } // namespace v8 89 } // namespace v8
88 90
89 #endif // V8_COMPILER_OPERATION_TYPER_H_ 91 #endif // V8_COMPILER_OPERATION_TYPER_H_
OLDNEW
« no previous file with comments | « no previous file | src/compiler/operation-typer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698