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

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

Issue 1457373002: [turbofan] Implemented the TruncateFloat64ToUint64 TurboFan operator. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fixed typos. 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 2067 matching lines...) Expand 10 before | Expand all | Expand 10 after
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::TypeChangeFloat64ToInt64(Node* node) {
2084 return Type::Internal(); 2084 return Type::Internal();
2085 } 2085 }
2086 2086
2087 2087
2088 Type* Typer::Visitor::TypeTruncateFloat64ToUint64(Node* node) {
2089 return Type::Internal();
2090 }
2091
2092
2088 Type* Typer::Visitor::TypeChangeInt32ToFloat64(Node* node) { 2093 Type* Typer::Visitor::TypeChangeInt32ToFloat64(Node* node) {
2089 return Type::Intersect(Type::Signed32(), Type::UntaggedFloat64(), zone()); 2094 return Type::Intersect(Type::Signed32(), Type::UntaggedFloat64(), zone());
2090 } 2095 }
2091 2096
2092 2097
2093 Type* Typer::Visitor::TypeChangeInt32ToInt64(Node* node) { 2098 Type* Typer::Visitor::TypeChangeInt32ToInt64(Node* node) {
2094 return Type::Internal(); 2099 return Type::Internal();
2095 } 2100 }
2096 2101
2097 2102
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
2327 } 2332 }
2328 if (Type::IsInteger(*value)) { 2333 if (Type::IsInteger(*value)) {
2329 return Type::Range(value->Number(), value->Number(), zone()); 2334 return Type::Range(value->Number(), value->Number(), zone());
2330 } 2335 }
2331 return Type::Constant(value, zone()); 2336 return Type::Constant(value, zone());
2332 } 2337 }
2333 2338
2334 } // namespace compiler 2339 } // namespace compiler
2335 } // namespace internal 2340 } // namespace internal
2336 } // 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