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

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

Issue 1458423002: [turbofan] Renamed the ChangeFloat64ToInt64 operator to TruncateFloat64ToInt64. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 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
« no previous file with comments | « src/compiler/raw-machine-assembler.h ('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/bootstrapper.h" 8 #include "src/bootstrapper.h"
9 #include "src/compilation-dependencies.h" 9 #include "src/compilation-dependencies.h"
10 #include "src/compiler/common-operator.h" 10 #include "src/compiler/common-operator.h"
(...skipping 2062 matching lines...) Expand 10 before | Expand all | Expand 10 after
2073 return Type::Intersect(Type::Signed32(), Type::UntaggedIntegral32(), zone()); 2073 return Type::Intersect(Type::Signed32(), Type::UntaggedIntegral32(), zone());
2074 } 2074 }
2075 2075
2076 2076
2077 Type* Typer::Visitor::TypeChangeFloat64ToUint32(Node* node) { 2077 Type* Typer::Visitor::TypeChangeFloat64ToUint32(Node* node) {
2078 return Type::Intersect(Type::Unsigned32(), Type::UntaggedIntegral32(), 2078 return Type::Intersect(Type::Unsigned32(), Type::UntaggedIntegral32(),
2079 zone()); 2079 zone());
2080 } 2080 }
2081 2081
2082 2082
2083 Type* Typer::Visitor::TypeChangeFloat64ToInt64(Node* node) { 2083 Type* Typer::Visitor::TypeTruncateFloat64ToInt64(Node* node) {
2084 return Type::Internal(); 2084 return Type::Internal();
2085 } 2085 }
2086 2086
2087 2087
2088 Type* Typer::Visitor::TypeTruncateFloat64ToUint64(Node* node) { 2088 Type* Typer::Visitor::TypeTruncateFloat64ToUint64(Node* node) {
2089 return Type::Internal(); 2089 return Type::Internal();
2090 } 2090 }
2091 2091
2092 2092
2093 Type* Typer::Visitor::TypeChangeInt32ToFloat64(Node* node) { 2093 Type* Typer::Visitor::TypeChangeInt32ToFloat64(Node* node) {
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after
2332 } 2332 }
2333 if (Type::IsInteger(*value)) { 2333 if (Type::IsInteger(*value)) {
2334 return Type::Range(value->Number(), value->Number(), zone()); 2334 return Type::Range(value->Number(), value->Number(), zone());
2335 } 2335 }
2336 return Type::Constant(value, zone()); 2336 return Type::Constant(value, zone());
2337 } 2337 }
2338 2338
2339 } // namespace compiler 2339 } // namespace compiler
2340 } // namespace internal 2340 } // namespace internal
2341 } // namespace v8 2341 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/raw-machine-assembler.h ('k') | src/compiler/verifier.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698