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

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

Issue 1223613002: [turbofan] Add Uint64LessThanOrEqual to 64-bit TurboFan backends. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 5 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/ppc/instruction-selector-ppc.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/compiler/typer.h" 5 #include "src/compiler/typer.h"
6 6
7 #include "src/base/flags.h" 7 #include "src/base/flags.h"
8 #include "src/base/lazy-instance.h" 8 #include "src/base/lazy-instance.h"
9 #include "src/bootstrapper.h" 9 #include "src/bootstrapper.h"
10 #include "src/compiler/graph-reducer.h" 10 #include "src/compiler/graph-reducer.h"
(...skipping 2034 matching lines...) Expand 10 before | Expand all | Expand 10 after
2045 Bounds Typer::Visitor::TypeUint64Div(Node* node) { 2045 Bounds Typer::Visitor::TypeUint64Div(Node* node) {
2046 return Bounds(Type::Internal()); 2046 return Bounds(Type::Internal());
2047 } 2047 }
2048 2048
2049 2049
2050 Bounds Typer::Visitor::TypeUint64LessThan(Node* node) { 2050 Bounds Typer::Visitor::TypeUint64LessThan(Node* node) {
2051 return Bounds(Type::Boolean()); 2051 return Bounds(Type::Boolean());
2052 } 2052 }
2053 2053
2054 2054
2055 Bounds Typer::Visitor::TypeUint64LessThanOrEqual(Node* node) {
2056 return Bounds(Type::Boolean());
2057 }
2058
2059
2055 Bounds Typer::Visitor::TypeUint64Mod(Node* node) { 2060 Bounds Typer::Visitor::TypeUint64Mod(Node* node) {
2056 return Bounds(Type::Internal()); 2061 return Bounds(Type::Internal());
2057 } 2062 }
2058 2063
2059 2064
2060 Bounds Typer::Visitor::TypeChangeFloat32ToFloat64(Node* node) { 2065 Bounds Typer::Visitor::TypeChangeFloat32ToFloat64(Node* node) {
2061 return Bounds(Type::Intersect( 2066 return Bounds(Type::Intersect(
2062 Type::Number(), Type::UntaggedFloat64(), zone())); 2067 Type::Number(), Type::UntaggedFloat64(), zone()));
2063 } 2068 }
2064 2069
(...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after
2360 TYPED_ARRAYS(TYPED_ARRAY_CASE) 2365 TYPED_ARRAYS(TYPED_ARRAY_CASE)
2361 #undef TYPED_ARRAY_CASE 2366 #undef TYPED_ARRAY_CASE
2362 } 2367 }
2363 } 2368 }
2364 return Type::Constant(value, zone()); 2369 return Type::Constant(value, zone());
2365 } 2370 }
2366 2371
2367 } // namespace compiler 2372 } // namespace compiler
2368 } // namespace internal 2373 } // namespace internal
2369 } // namespace v8 2374 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/ppc/instruction-selector-ppc.cc ('k') | src/compiler/verifier.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698