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

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

Issue 1137703002: Add a MathFloor stub generated with TurboFan (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix ARM + co. 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/linkage.cc ('k') | src/ia32/disasm-ia32.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 1558 matching lines...) Expand 10 before | Expand all | Expand 10 after
1569 Bounds Typer::Visitor::TypeJSCallFunction(Node* node) { 1569 Bounds Typer::Visitor::TypeJSCallFunction(Node* node) {
1570 return TypeUnaryOp(node, JSCallFunctionTyper); // We ignore argument types. 1570 return TypeUnaryOp(node, JSCallFunctionTyper); // We ignore argument types.
1571 } 1571 }
1572 1572
1573 1573
1574 Bounds Typer::Visitor::TypeJSCallRuntime(Node* node) { 1574 Bounds Typer::Visitor::TypeJSCallRuntime(Node* node) {
1575 switch (CallRuntimeParametersOf(node->op()).id()) { 1575 switch (CallRuntimeParametersOf(node->op()).id()) {
1576 case Runtime::kInlineIsSmi: 1576 case Runtime::kInlineIsSmi:
1577 case Runtime::kInlineIsNonNegativeSmi: 1577 case Runtime::kInlineIsNonNegativeSmi:
1578 case Runtime::kInlineIsArray: 1578 case Runtime::kInlineIsArray:
1579 case Runtime::kInlineIsMinusZero:
1579 case Runtime::kInlineIsFunction: 1580 case Runtime::kInlineIsFunction:
1580 case Runtime::kInlineIsRegExp: 1581 case Runtime::kInlineIsRegExp:
1581 return Bounds(Type::None(zone()), Type::Boolean(zone())); 1582 return Bounds(Type::None(zone()), Type::Boolean(zone()));
1582 case Runtime::kInlineDoubleLo: 1583 case Runtime::kInlineDoubleLo:
1583 case Runtime::kInlineDoubleHi: 1584 case Runtime::kInlineDoubleHi:
1584 return Bounds(Type::None(zone()), Type::Signed32()); 1585 return Bounds(Type::None(zone()), Type::Signed32());
1585 case Runtime::kInlineConstructDouble: 1586 case Runtime::kInlineConstructDouble:
1586 case Runtime::kInlineMathFloor: 1587 case Runtime::kInlineMathFloor:
1587 case Runtime::kInlineMathSqrt: 1588 case Runtime::kInlineMathSqrt:
1588 case Runtime::kInlineMathAcos: 1589 case Runtime::kInlineMathAcos:
(...skipping 776 matching lines...) Expand 10 before | Expand all | Expand 10 after
2365 TYPED_ARRAYS(TYPED_ARRAY_CASE) 2366 TYPED_ARRAYS(TYPED_ARRAY_CASE)
2366 #undef TYPED_ARRAY_CASE 2367 #undef TYPED_ARRAY_CASE
2367 } 2368 }
2368 } 2369 }
2369 return Type::Constant(value, zone()); 2370 return Type::Constant(value, zone());
2370 } 2371 }
2371 2372
2372 } // namespace compiler 2373 } // namespace compiler
2373 } // namespace internal 2374 } // namespace internal
2374 } // namespace v8 2375 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/linkage.cc ('k') | src/ia32/disasm-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698