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

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

Issue 2114613002: [intrinsics] Drop the now obsolete %_DoubleHi and %_DoubleLo intrinsics. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 5 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 | « no previous file | src/crankshaft/arm/lithium-arm.h » ('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/bootstrapper.h" 8 #include "src/bootstrapper.h"
9 #include "src/compilation-dependencies.h" 9 #include "src/compilation-dependencies.h"
10 #include "src/compiler/common-operator.h" 10 #include "src/compiler/common-operator.h"
(...skipping 1421 matching lines...) Expand 10 before | Expand all | Expand 10 after
1432 switch (CallRuntimeParametersOf(node->op()).id()) { 1432 switch (CallRuntimeParametersOf(node->op()).id()) {
1433 case Runtime::kInlineIsJSReceiver: 1433 case Runtime::kInlineIsJSReceiver:
1434 return TypeUnaryOp(node, ObjectIsReceiver); 1434 return TypeUnaryOp(node, ObjectIsReceiver);
1435 case Runtime::kInlineIsSmi: 1435 case Runtime::kInlineIsSmi:
1436 return TypeUnaryOp(node, ObjectIsSmi); 1436 return TypeUnaryOp(node, ObjectIsSmi);
1437 case Runtime::kInlineIsArray: 1437 case Runtime::kInlineIsArray:
1438 case Runtime::kInlineIsDate: 1438 case Runtime::kInlineIsDate:
1439 case Runtime::kInlineIsTypedArray: 1439 case Runtime::kInlineIsTypedArray:
1440 case Runtime::kInlineIsRegExp: 1440 case Runtime::kInlineIsRegExp:
1441 return Type::Boolean(); 1441 return Type::Boolean();
1442 case Runtime::kInlineDoubleLo:
1443 case Runtime::kInlineDoubleHi:
1444 return Type::Signed32();
1445 case Runtime::kInlineCreateIterResultObject: 1442 case Runtime::kInlineCreateIterResultObject:
1446 case Runtime::kInlineRegExpConstructResult: 1443 case Runtime::kInlineRegExpConstructResult:
1447 return Type::OtherObject(); 1444 return Type::OtherObject();
1448 case Runtime::kInlineSubString: 1445 case Runtime::kInlineSubString:
1449 case Runtime::kInlineStringCharFromCode: 1446 case Runtime::kInlineStringCharFromCode:
1450 return Type::String(); 1447 return Type::String();
1451 case Runtime::kInlineToInteger: 1448 case Runtime::kInlineToInteger:
1452 return TypeUnaryOp(node, ToInteger); 1449 return TypeUnaryOp(node, ToInteger);
1453 case Runtime::kInlineToLength: 1450 case Runtime::kInlineToLength:
1454 return TypeUnaryOp(node, ToLength); 1451 return TypeUnaryOp(node, ToLength);
(...skipping 1066 matching lines...) Expand 10 before | Expand all | Expand 10 after
2521 } 2518 }
2522 if (Type::IsInteger(*value)) { 2519 if (Type::IsInteger(*value)) {
2523 return Type::Range(value->Number(), value->Number(), zone()); 2520 return Type::Range(value->Number(), value->Number(), zone());
2524 } 2521 }
2525 return Type::Constant(value, zone()); 2522 return Type::Constant(value, zone());
2526 } 2523 }
2527 2524
2528 } // namespace compiler 2525 } // namespace compiler
2529 } // namespace internal 2526 } // namespace internal
2530 } // namespace v8 2527 } // namespace v8
OLDNEW
« no previous file with comments | « no previous file | src/crankshaft/arm/lithium-arm.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698