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

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

Issue 2122853002: Implement UnaligedLoad and UnaligedStore turbofan operators. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Nits. Fixes some errors Created 4 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/s390/instruction-selector-s390.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/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 2505 matching lines...) Expand 10 before | Expand all | Expand 10 after
2516 2516
2517 2517
2518 Type* Typer::Visitor::TypeLoadFramePointer(Node* node) { 2518 Type* Typer::Visitor::TypeLoadFramePointer(Node* node) {
2519 return Type::Internal(); 2519 return Type::Internal();
2520 } 2520 }
2521 2521
2522 Type* Typer::Visitor::TypeLoadParentFramePointer(Node* node) { 2522 Type* Typer::Visitor::TypeLoadParentFramePointer(Node* node) {
2523 return Type::Internal(); 2523 return Type::Internal();
2524 } 2524 }
2525 2525
2526 Type* Typer::Visitor::TypeUnalignedLoad(Node* node) { return Type::Any(); }
2527
2528 Type* Typer::Visitor::TypeUnalignedStore(Node* node) {
2529 UNREACHABLE();
2530 return nullptr;
2531 }
2532
2526 Type* Typer::Visitor::TypeCheckedLoad(Node* node) { return Type::Any(); } 2533 Type* Typer::Visitor::TypeCheckedLoad(Node* node) { return Type::Any(); }
2527 2534
2528 Type* Typer::Visitor::TypeCheckedStore(Node* node) { 2535 Type* Typer::Visitor::TypeCheckedStore(Node* node) {
2529 UNREACHABLE(); 2536 UNREACHABLE();
2530 return nullptr; 2537 return nullptr;
2531 } 2538 }
2532 2539
2533 Type* Typer::Visitor::TypeAtomicLoad(Node* node) { return Type::Any(); } 2540 Type* Typer::Visitor::TypeAtomicLoad(Node* node) { return Type::Any(); }
2534 2541
2535 Type* Typer::Visitor::TypeAtomicStore(Node* node) { 2542 Type* Typer::Visitor::TypeAtomicStore(Node* node) {
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
2581 } 2588 }
2582 if (Type::IsInteger(*value)) { 2589 if (Type::IsInteger(*value)) {
2583 return Type::Range(value->Number(), value->Number(), zone()); 2590 return Type::Range(value->Number(), value->Number(), zone());
2584 } 2591 }
2585 return Type::Constant(value, zone()); 2592 return Type::Constant(value, zone());
2586 } 2593 }
2587 2594
2588 } // namespace compiler 2595 } // namespace compiler
2589 } // namespace internal 2596 } // namespace internal
2590 } // namespace v8 2597 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/s390/instruction-selector-s390.cc ('k') | src/compiler/verifier.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698