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

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

Issue 1132423004: [turbofan] Add a Simplified::CheckMaps instruction. Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 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/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/base/flags.h" 5 #include "src/base/flags.h"
6 #include "src/bootstrapper.h" 6 #include "src/bootstrapper.h"
7 #include "src/compiler/graph-reducer.h" 7 #include "src/compiler/graph-reducer.h"
8 #include "src/compiler/js-operator.h" 8 #include "src/compiler/js-operator.h"
9 #include "src/compiler/node.h" 9 #include "src/compiler/node.h"
10 #include "src/compiler/node-properties.h" 10 #include "src/compiler/node-properties.h"
(...skipping 1766 matching lines...) Expand 10 before | Expand all | Expand 10 after
1777 1777
1778 1778
1779 Bounds Typer::Visitor::TypeChangeBitToBool(Node* node) { 1779 Bounds Typer::Visitor::TypeChangeBitToBool(Node* node) {
1780 Bounds arg = Operand(node, 0); 1780 Bounds arg = Operand(node, 0);
1781 // TODO(neis): DCHECK(arg.upper->Is(Type::Boolean())); 1781 // TODO(neis): DCHECK(arg.upper->Is(Type::Boolean()));
1782 return Bounds(ChangeRepresentation(arg.lower, Type::TaggedPointer(), zone()), 1782 return Bounds(ChangeRepresentation(arg.lower, Type::TaggedPointer(), zone()),
1783 ChangeRepresentation(arg.upper, Type::TaggedPointer(), zone())); 1783 ChangeRepresentation(arg.upper, Type::TaggedPointer(), zone()));
1784 } 1784 }
1785 1785
1786 1786
1787 Bounds Typer::Visitor::TypeCheckMaps(Node* node) { return Bounds(); }
1788
1789
1787 Bounds Typer::Visitor::TypeAllocate(Node* node) { 1790 Bounds Typer::Visitor::TypeAllocate(Node* node) {
1788 return Bounds(Type::TaggedPointer()); 1791 return Bounds(Type::TaggedPointer());
1789 } 1792 }
1790 1793
1791 1794
1792 Bounds Typer::Visitor::TypeLoadField(Node* node) { 1795 Bounds Typer::Visitor::TypeLoadField(Node* node) {
1793 return Bounds(FieldAccessOf(node->op()).type); 1796 return Bounds(FieldAccessOf(node->op()).type);
1794 } 1797 }
1795 1798
1796 1799
(...skipping 569 matching lines...) Expand 10 before | Expand all | Expand 10 after
2366 TYPED_ARRAYS(TYPED_ARRAY_CASE) 2369 TYPED_ARRAYS(TYPED_ARRAY_CASE)
2367 #undef TYPED_ARRAY_CASE 2370 #undef TYPED_ARRAY_CASE
2368 } 2371 }
2369 } 2372 }
2370 return Type::Constant(value, zone()); 2373 return Type::Constant(value, zone());
2371 } 2374 }
2372 2375
2373 } // namespace compiler 2376 } // namespace compiler
2374 } // namespace internal 2377 } // namespace internal
2375 } // namespace v8 2378 } // 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