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

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

Issue 612043003: Add inlining for intrinsics. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Move decls. Created 6 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 | Annotate | Revision Log
« 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/bootstrapper.h" 5 #include "src/bootstrapper.h"
6 #include "src/compiler/graph-inl.h" 6 #include "src/compiler/graph-inl.h"
7 #include "src/compiler/js-operator.h" 7 #include "src/compiler/js-operator.h"
8 #include "src/compiler/node.h" 8 #include "src/compiler/node.h"
9 #include "src/compiler/node-properties-inl.h" 9 #include "src/compiler/node-properties-inl.h"
10 #include "src/compiler/node-properties.h" 10 #include "src/compiler/node-properties.h"
(...skipping 1210 matching lines...) Expand 10 before | Expand all | Expand 10 after
1221 return Bounds(); 1221 return Bounds();
1222 } 1222 }
1223 1223
1224 1224
1225 Bounds Typer::Visitor::TypeStoreElement(Node* node) { 1225 Bounds Typer::Visitor::TypeStoreElement(Node* node) {
1226 UNREACHABLE(); 1226 UNREACHABLE();
1227 return Bounds(); 1227 return Bounds();
1228 } 1228 }
1229 1229
1230 1230
1231 Bounds Typer::Visitor::TypeObjectIsSmi(Node* node) {
1232 return Bounds(Type::Boolean());
1233 }
1234
1235
1236 Bounds Typer::Visitor::TypeObjectIsNonNegativeSmi(Node* node) {
1237 return Bounds(Type::Boolean());
1238 }
1239
1240
1231 // Machine operators. 1241 // Machine operators.
1232 1242
1233 Bounds Typer::Visitor::TypeLoad(Node* node) { 1243 Bounds Typer::Visitor::TypeLoad(Node* node) {
1234 return Bounds::Unbounded(zone()); 1244 return Bounds::Unbounded(zone());
1235 } 1245 }
1236 1246
1237 1247
1238 Bounds Typer::Visitor::TypeStore(Node* node) { 1248 Bounds Typer::Visitor::TypeStore(Node* node) {
1239 UNREACHABLE(); 1249 UNREACHABLE();
1240 return Bounds(); 1250 return Bounds();
(...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after
1625 return typer_->float64_array_fun_; 1635 return typer_->float64_array_fun_;
1626 } 1636 }
1627 } 1637 }
1628 } 1638 }
1629 return Type::Constant(value, zone()); 1639 return Type::Constant(value, zone());
1630 } 1640 }
1631 1641
1632 } 1642 }
1633 } 1643 }
1634 } // namespace v8::internal::compiler 1644 } // namespace v8::internal::compiler
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