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

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

Issue 1288923002: Revert of [runtime] Remove useless IN builtin. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 4 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/js-intrinsic-lowering.cc ('k') | src/full-codegen/arm/full-codegen-arm.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/base/lazy-instance.h" 8 #include "src/base/lazy-instance.h"
9 #include "src/bootstrapper.h" 9 #include "src/bootstrapper.h"
10 #include "src/compiler/common-operator.h" 10 #include "src/compiler/common-operator.h"
(...skipping 1517 matching lines...) Expand 10 before | Expand all | Expand 10 after
1528 1528
1529 1529
1530 Bounds Typer::Visitor::TypeJSCallFunction(Node* node) { 1530 Bounds Typer::Visitor::TypeJSCallFunction(Node* node) {
1531 return TypeUnaryOp(node, JSCallFunctionTyper); // We ignore argument types. 1531 return TypeUnaryOp(node, JSCallFunctionTyper); // We ignore argument types.
1532 } 1532 }
1533 1533
1534 1534
1535 Bounds Typer::Visitor::TypeJSCallRuntime(Node* node) { 1535 Bounds Typer::Visitor::TypeJSCallRuntime(Node* node) {
1536 switch (CallRuntimeParametersOf(node->op()).id()) { 1536 switch (CallRuntimeParametersOf(node->op()).id()) {
1537 case Runtime::kInlineIsSmi: 1537 case Runtime::kInlineIsSmi:
1538 case Runtime::kInlineIsNonNegativeSmi:
1538 case Runtime::kInlineIsArray: 1539 case Runtime::kInlineIsArray:
1539 case Runtime::kInlineIsDate: 1540 case Runtime::kInlineIsDate:
1540 case Runtime::kInlineIsTypedArray: 1541 case Runtime::kInlineIsTypedArray:
1541 case Runtime::kInlineIsMinusZero: 1542 case Runtime::kInlineIsMinusZero:
1542 case Runtime::kInlineIsFunction: 1543 case Runtime::kInlineIsFunction:
1543 case Runtime::kInlineIsRegExp: 1544 case Runtime::kInlineIsRegExp:
1544 return Bounds(Type::None(zone()), Type::Boolean(zone())); 1545 return Bounds(Type::None(zone()), Type::Boolean(zone()));
1545 case Runtime::kInlineDoubleLo: 1546 case Runtime::kInlineDoubleLo:
1546 case Runtime::kInlineDoubleHi: 1547 case Runtime::kInlineDoubleHi:
1547 return Bounds(Type::None(zone()), Type::Signed32()); 1548 return Bounds(Type::None(zone()), Type::Signed32());
(...skipping 824 matching lines...) Expand 10 before | Expand all | Expand 10 after
2372 TYPED_ARRAYS(TYPED_ARRAY_CASE) 2373 TYPED_ARRAYS(TYPED_ARRAY_CASE)
2373 #undef TYPED_ARRAY_CASE 2374 #undef TYPED_ARRAY_CASE
2374 } 2375 }
2375 } 2376 }
2376 return Type::Constant(value, zone()); 2377 return Type::Constant(value, zone());
2377 } 2378 }
2378 2379
2379 } // namespace compiler 2380 } // namespace compiler
2380 } // namespace internal 2381 } // namespace internal
2381 } // namespace v8 2382 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/js-intrinsic-lowering.cc ('k') | src/full-codegen/arm/full-codegen-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698