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

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

Issue 1399423002: [turbofan] Introduce node regions for protection from scheduling. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Move RelaxControls Created 5 years, 2 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/scheduler.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/base/lazy-instance.h" 8 #include "src/base/lazy-instance.h"
9 #include "src/bootstrapper.h" 9 #include "src/bootstrapper.h"
10 #include "src/compiler/common-operator.h" 10 #include "src/compiler/common-operator.h"
(...skipping 536 matching lines...) Expand 10 before | Expand all | Expand 10 after
547 return nullptr; 547 return nullptr;
548 } 548 }
549 549
550 550
551 Type* Typer::Visitor::TypeEffectSet(Node* node) { 551 Type* Typer::Visitor::TypeEffectSet(Node* node) {
552 UNREACHABLE(); 552 UNREACHABLE();
553 return nullptr; 553 return nullptr;
554 } 554 }
555 555
556 556
557 Type* Typer::Visitor::TypeValueEffect(Node* node) { 557 Type* Typer::Visitor::TypeBeginRegion(Node* node) {
558 UNREACHABLE(); 558 UNREACHABLE();
559 return nullptr; 559 return nullptr;
560 } 560 }
561 561
562 562
563 Type* Typer::Visitor::TypeFinish(Node* node) { return Operand(node, 0); } 563 Type* Typer::Visitor::TypeFinishRegion(Node* node) { return Operand(node, 0); }
564 564
565 565
566 Type* Typer::Visitor::TypeFrameState(Node* node) { 566 Type* Typer::Visitor::TypeFrameState(Node* node) {
567 // TODO(rossberg): Ideally FrameState wouldn't have a value output. 567 // TODO(rossberg): Ideally FrameState wouldn't have a value output.
568 return Type::Internal(zone()); 568 return Type::Internal(zone());
569 } 569 }
570 570
571 571
572 Type* Typer::Visitor::TypeStateValues(Node* node) { 572 Type* Typer::Visitor::TypeStateValues(Node* node) {
573 return Type::Internal(zone()); 573 return Type::Internal(zone());
(...skipping 1523 matching lines...) Expand 10 before | Expand all | Expand 10 after
2097 } 2097 }
2098 if (Type::IsInteger(*value)) { 2098 if (Type::IsInteger(*value)) {
2099 return Type::Range(value->Number(), value->Number(), zone()); 2099 return Type::Range(value->Number(), value->Number(), zone());
2100 } 2100 }
2101 return Type::Constant(value, zone()); 2101 return Type::Constant(value, zone());
2102 } 2102 }
2103 2103
2104 } // namespace compiler 2104 } // namespace compiler
2105 } // namespace internal 2105 } // namespace internal
2106 } // namespace v8 2106 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/scheduler.cc ('k') | src/compiler/verifier.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698