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

Side by Side Diff: src/compiler/typer.cc

Issue 998283002: [turbofan] Introduce optional Float64Min and Float64Max machine operators. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 9 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 | « src/compiler/simplified-lowering.cc ('k') | src/compiler/verifier.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 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/base/flags.h" 5 #include "src/base/flags.h"
6 #include "src/bootstrapper.h" 6 #include "src/bootstrapper.h"
7 #include "src/compiler/graph-reducer.h" 7 #include "src/compiler/graph-reducer.h"
8 #include "src/compiler/js-operator.h" 8 #include "src/compiler/js-operator.h"
9 #include "src/compiler/node.h" 9 #include "src/compiler/node.h"
10 #include "src/compiler/node-properties.h" 10 #include "src/compiler/node-properties.h"
(...skipping 2048 matching lines...) Expand 10 before | Expand all | Expand 10 after
2059 Bounds Typer::Visitor::TypeFloat64Div(Node* node) { 2059 Bounds Typer::Visitor::TypeFloat64Div(Node* node) {
2060 return Bounds(Type::Number()); 2060 return Bounds(Type::Number());
2061 } 2061 }
2062 2062
2063 2063
2064 Bounds Typer::Visitor::TypeFloat64Mod(Node* node) { 2064 Bounds Typer::Visitor::TypeFloat64Mod(Node* node) {
2065 return Bounds(Type::Number()); 2065 return Bounds(Type::Number());
2066 } 2066 }
2067 2067
2068 2068
2069 Bounds Typer::Visitor::TypeFloat64Max(Node* node) {
2070 return Bounds(Type::Number());
2071 }
2072
2073
2074 Bounds Typer::Visitor::TypeFloat64Min(Node* node) {
2075 return Bounds(Type::Number());
2076 }
2077
2078
2069 Bounds Typer::Visitor::TypeFloat64Sqrt(Node* node) { 2079 Bounds Typer::Visitor::TypeFloat64Sqrt(Node* node) {
2070 return Bounds(Type::Number()); 2080 return Bounds(Type::Number());
2071 } 2081 }
2072 2082
2073 2083
2074 Bounds Typer::Visitor::TypeFloat64Equal(Node* node) { 2084 Bounds Typer::Visitor::TypeFloat64Equal(Node* node) {
2075 return Bounds(Type::Boolean()); 2085 return Bounds(Type::Boolean());
2076 } 2086 }
2077 2087
2078 2088
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
2212 TYPED_ARRAYS(TYPED_ARRAY_CASE) 2222 TYPED_ARRAYS(TYPED_ARRAY_CASE)
2213 #undef TYPED_ARRAY_CASE 2223 #undef TYPED_ARRAY_CASE
2214 } 2224 }
2215 } 2225 }
2216 return Type::Constant(value, zone()); 2226 return Type::Constant(value, zone());
2217 } 2227 }
2218 2228
2219 } // namespace compiler 2229 } // namespace compiler
2220 } // namespace internal 2230 } // namespace internal
2221 } // namespace v8 2231 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/simplified-lowering.cc ('k') | src/compiler/verifier.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698