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

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

Issue 2056503003: [turbofan] Add comments to CodeAssembler (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Remove extraneous change Created 4 years, 6 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 2051 matching lines...) Expand 10 before | Expand all | Expand 10 after
2062 2062
2063 Type* Typer::Visitor::TypeObjectIsUndetectable(Node* node) { 2063 Type* Typer::Visitor::TypeObjectIsUndetectable(Node* node) {
2064 return TypeUnaryOp(node, ObjectIsUndetectable); 2064 return TypeUnaryOp(node, ObjectIsUndetectable);
2065 } 2065 }
2066 2066
2067 2067
2068 // Machine operators. 2068 // Machine operators.
2069 2069
2070 Type* Typer::Visitor::TypeDebugBreak(Node* node) { return Type::None(); } 2070 Type* Typer::Visitor::TypeDebugBreak(Node* node) { return Type::None(); }
2071 2071
2072 Type* Typer::Visitor::TypeComment(Node* node) { return Type::None(); }
2073
2072 Type* Typer::Visitor::TypeLoad(Node* node) { return Type::Any(); } 2074 Type* Typer::Visitor::TypeLoad(Node* node) { return Type::Any(); }
2073 2075
2074 Type* Typer::Visitor::TypeStackSlot(Node* node) { return Type::Any(); } 2076 Type* Typer::Visitor::TypeStackSlot(Node* node) { return Type::Any(); }
2075 2077
2076 Type* Typer::Visitor::TypeStore(Node* node) { 2078 Type* Typer::Visitor::TypeStore(Node* node) {
2077 UNREACHABLE(); 2079 UNREACHABLE();
2078 return nullptr; 2080 return nullptr;
2079 } 2081 }
2080 2082
2081 2083
(...skipping 557 matching lines...) Expand 10 before | Expand all | Expand 10 after
2639 } 2641 }
2640 if (Type::IsInteger(*value)) { 2642 if (Type::IsInteger(*value)) {
2641 return Type::Range(value->Number(), value->Number(), zone()); 2643 return Type::Range(value->Number(), value->Number(), zone());
2642 } 2644 }
2643 return Type::Constant(value, zone()); 2645 return Type::Constant(value, zone());
2644 } 2646 }
2645 2647
2646 } // namespace compiler 2648 } // namespace compiler
2647 } // namespace internal 2649 } // namespace internal
2648 } // namespace v8 2650 } // 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