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

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

Issue 1993593002: [turbofan] Introduce CheckPoint common operator. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 7 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/opcodes.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 688 matching lines...) Expand 10 before | Expand all | Expand 10 after
699 return nullptr; 699 return nullptr;
700 } 700 }
701 701
702 702
703 Type* Typer::Visitor::TypeGuard(Node* node) { 703 Type* Typer::Visitor::TypeGuard(Node* node) {
704 Type* input_type = Operand(node, 0); 704 Type* input_type = Operand(node, 0);
705 Type* guard_type = OpParameter<Type*>(node); 705 Type* guard_type = OpParameter<Type*>(node);
706 return Type::Intersect(input_type, guard_type, zone()); 706 return Type::Intersect(input_type, guard_type, zone());
707 } 707 }
708 708
709 Type* Typer::Visitor::TypeCheckPoint(Node* node) {
710 UNREACHABLE();
711 return nullptr;
712 }
709 713
710 Type* Typer::Visitor::TypeBeginRegion(Node* node) { 714 Type* Typer::Visitor::TypeBeginRegion(Node* node) {
711 UNREACHABLE(); 715 UNREACHABLE();
712 return nullptr; 716 return nullptr;
713 } 717 }
714 718
715 719
716 Type* Typer::Visitor::TypeFinishRegion(Node* node) { return Operand(node, 0); } 720 Type* Typer::Visitor::TypeFinishRegion(Node* node) { return Operand(node, 0); }
717 721
718 722
(...skipping 1854 matching lines...) Expand 10 before | Expand all | Expand 10 after
2573 } 2577 }
2574 if (Type::IsInteger(*value)) { 2578 if (Type::IsInteger(*value)) {
2575 return Type::Range(value->Number(), value->Number(), zone()); 2579 return Type::Range(value->Number(), value->Number(), zone());
2576 } 2580 }
2577 return Type::Constant(value, zone()); 2581 return Type::Constant(value, zone());
2578 } 2582 }
2579 2583
2580 } // namespace compiler 2584 } // namespace compiler
2581 } // namespace internal 2585 } // namespace internal
2582 } // namespace v8 2586 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/opcodes.h ('k') | src/compiler/verifier.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698