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

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

Issue 1995543003: [turbofan] Add DebugBreak machine operator and support (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Review feedback 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/raw-machine-assembler.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 1990 matching lines...) Expand 10 before | Expand all | Expand 10 after
2001 return TypeUnaryOp(node, ObjectIsString); 2001 return TypeUnaryOp(node, ObjectIsString);
2002 } 2002 }
2003 2003
2004 Type* Typer::Visitor::TypeObjectIsUndetectable(Node* node) { 2004 Type* Typer::Visitor::TypeObjectIsUndetectable(Node* node) {
2005 return TypeUnaryOp(node, ObjectIsUndetectable); 2005 return TypeUnaryOp(node, ObjectIsUndetectable);
2006 } 2006 }
2007 2007
2008 2008
2009 // Machine operators. 2009 // Machine operators.
2010 2010
2011 Type* Typer::Visitor::TypeDebugBreak(Node* node) { return Type::None(); }
2012
2011 Type* Typer::Visitor::TypeLoad(Node* node) { return Type::Any(); } 2013 Type* Typer::Visitor::TypeLoad(Node* node) { return Type::Any(); }
2012 2014
2013 Type* Typer::Visitor::TypeStackSlot(Node* node) { return Type::Any(); } 2015 Type* Typer::Visitor::TypeStackSlot(Node* node) { return Type::Any(); }
2014 2016
2015 Type* Typer::Visitor::TypeStore(Node* node) { 2017 Type* Typer::Visitor::TypeStore(Node* node) {
2016 UNREACHABLE(); 2018 UNREACHABLE();
2017 return nullptr; 2019 return nullptr;
2018 } 2020 }
2019 2021
2020 2022
(...skipping 552 matching lines...) Expand 10 before | Expand all | Expand 10 after
2573 } 2575 }
2574 if (Type::IsInteger(*value)) { 2576 if (Type::IsInteger(*value)) {
2575 return Type::Range(value->Number(), value->Number(), zone()); 2577 return Type::Range(value->Number(), value->Number(), zone());
2576 } 2578 }
2577 return Type::Constant(value, zone()); 2579 return Type::Constant(value, zone());
2578 } 2580 }
2579 2581
2580 } // namespace compiler 2582 } // namespace compiler
2581 } // namespace internal 2583 } // namespace internal
2582 } // namespace v8 2584 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/raw-machine-assembler.cc ('k') | src/compiler/verifier.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698