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

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: 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
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 2494 matching lines...) Expand 10 before | Expand all | Expand 10 after
2505 2505
2506 2506
2507 Type* Typer::Visitor::TypeLoadFramePointer(Node* node) { 2507 Type* Typer::Visitor::TypeLoadFramePointer(Node* node) {
2508 return Type::Internal(); 2508 return Type::Internal();
2509 } 2509 }
2510 2510
2511 Type* Typer::Visitor::TypeLoadParentFramePointer(Node* node) { 2511 Type* Typer::Visitor::TypeLoadParentFramePointer(Node* node) {
2512 return Type::Internal(); 2512 return Type::Internal();
2513 } 2513 }
2514 2514
2515 Type* Typer::Visitor::TypeUnalignedLoad(Node* node) { return Type::Any(); }
2516
2517 Type* Typer::Visitor::TypeUnalignedStore(Node* node) {
2518 UNREACHABLE();
2519 return nullptr;
2520 }
2521
2515 Type* Typer::Visitor::TypeCheckedLoad(Node* node) { return Type::Any(); } 2522 Type* Typer::Visitor::TypeCheckedLoad(Node* node) { return Type::Any(); }
2516 2523
2517 Type* Typer::Visitor::TypeCheckedStore(Node* node) { 2524 Type* Typer::Visitor::TypeCheckedStore(Node* node) {
2518 UNREACHABLE(); 2525 UNREACHABLE();
2519 return nullptr; 2526 return nullptr;
2520 } 2527 }
2521 2528
2522 Type* Typer::Visitor::TypeAtomicLoad(Node* node) { return Type::Any(); } 2529 Type* Typer::Visitor::TypeAtomicLoad(Node* node) { return Type::Any(); }
2523 2530
2524 Type* Typer::Visitor::TypeAtomicStore(Node* node) { 2531 Type* Typer::Visitor::TypeAtomicStore(Node* node) {
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
2570 } 2577 }
2571 if (Type::IsInteger(*value)) { 2578 if (Type::IsInteger(*value)) {
2572 return Type::Range(value->Number(), value->Number(), zone()); 2579 return Type::Range(value->Number(), value->Number(), zone());
2573 } 2580 }
2574 return Type::Constant(value, zone()); 2581 return Type::Constant(value, zone());
2575 } 2582 }
2576 2583
2577 } // namespace compiler 2584 } // namespace compiler
2578 } // namespace internal 2585 } // namespace internal
2579 } // namespace v8 2586 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698