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

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

Issue 2517913002: [turbofan] Introduce LoadFunctionPrototype simplified operator. (Closed)
Patch Set: Created 4 years, 1 month 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/simplified-operator.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 <iomanip> 7 #include <iomanip>
8 8
9 #include "src/base/flags.h" 9 #include "src/base/flags.h"
10 #include "src/bootstrapper.h" 10 #include "src/bootstrapper.h"
(...skipping 1712 matching lines...) Expand 10 before | Expand all | Expand 10 after
1723 Type* Typer::Visitor::TypeStoreElement(Node* node) { 1723 Type* Typer::Visitor::TypeStoreElement(Node* node) {
1724 UNREACHABLE(); 1724 UNREACHABLE();
1725 return nullptr; 1725 return nullptr;
1726 } 1726 }
1727 1727
1728 Type* Typer::Visitor::TypeStoreTypedElement(Node* node) { 1728 Type* Typer::Visitor::TypeStoreTypedElement(Node* node) {
1729 UNREACHABLE(); 1729 UNREACHABLE();
1730 return nullptr; 1730 return nullptr;
1731 } 1731 }
1732 1732
1733 Type* Typer::Visitor::TypeLoadFunctionPrototype(Node* node) {
1734 return Type::NonInternal();
1735 }
1736
1733 Type* Typer::Visitor::TypeObjectIsCallable(Node* node) { 1737 Type* Typer::Visitor::TypeObjectIsCallable(Node* node) {
1734 return TypeUnaryOp(node, ObjectIsCallable); 1738 return TypeUnaryOp(node, ObjectIsCallable);
1735 } 1739 }
1736 1740
1737 Type* Typer::Visitor::TypeObjectIsNumber(Node* node) { 1741 Type* Typer::Visitor::TypeObjectIsNumber(Node* node) {
1738 return TypeUnaryOp(node, ObjectIsNumber); 1742 return TypeUnaryOp(node, ObjectIsNumber);
1739 } 1743 }
1740 1744
1741 1745
1742 Type* Typer::Visitor::TypeObjectIsReceiver(Node* node) { 1746 Type* Typer::Visitor::TypeObjectIsReceiver(Node* node) {
(...skipping 22 matching lines...) Expand all
1765 Type* Typer::Visitor::TypeConstant(Handle<Object> value) { 1769 Type* Typer::Visitor::TypeConstant(Handle<Object> value) {
1766 if (Type::IsInteger(*value)) { 1770 if (Type::IsInteger(*value)) {
1767 return Type::Range(value->Number(), value->Number(), zone()); 1771 return Type::Range(value->Number(), value->Number(), zone());
1768 } 1772 }
1769 return Type::NewConstant(value, zone()); 1773 return Type::NewConstant(value, zone());
1770 } 1774 }
1771 1775
1772 } // namespace compiler 1776 } // namespace compiler
1773 } // namespace internal 1777 } // namespace internal
1774 } // namespace v8 1778 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/simplified-operator.cc ('k') | src/compiler/verifier.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698