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

Side by Side Diff: src/compiler/simplified-lowering.cc

Issue 1146963002: Add %GetCallerJSFunction intrinsic (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Merge with ToT 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
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/simplified-lowering.h" 5 #include "src/compiler/simplified-lowering.h"
6 6
7 #include <limits> 7 #include <limits>
8 8
9 #include "src/base/bits.h" 9 #include "src/base/bits.h"
10 #include "src/code-factory.h" 10 #include "src/code-factory.h"
(...skipping 1024 matching lines...) Expand 10 before | Expand all | Expand 10 after
1035 case IrOpcode::kFloat64LessThanOrEqual: 1035 case IrOpcode::kFloat64LessThanOrEqual:
1036 return VisitFloat64Cmp(node); 1036 return VisitFloat64Cmp(node);
1037 case IrOpcode::kFloat64ExtractLowWord32: 1037 case IrOpcode::kFloat64ExtractLowWord32:
1038 case IrOpcode::kFloat64ExtractHighWord32: 1038 case IrOpcode::kFloat64ExtractHighWord32:
1039 return VisitUnop(node, kMachFloat64, kMachInt32); 1039 return VisitUnop(node, kMachFloat64, kMachInt32);
1040 case IrOpcode::kFloat64InsertLowWord32: 1040 case IrOpcode::kFloat64InsertLowWord32:
1041 case IrOpcode::kFloat64InsertHighWord32: 1041 case IrOpcode::kFloat64InsertHighWord32:
1042 return VisitBinop(node, kMachFloat64, kMachInt32, kMachFloat64); 1042 return VisitBinop(node, kMachFloat64, kMachInt32, kMachFloat64);
1043 case IrOpcode::kLoadStackPointer: 1043 case IrOpcode::kLoadStackPointer:
1044 return VisitLeaf(node, kMachPtr); 1044 return VisitLeaf(node, kMachPtr);
1045 case IrOpcode::kLoadFramePointer:
Michael Starzinger 2015/05/20 14:25:18 nit: Lets just have both labels (i.e. kLoadStackPo
danno 2015/05/22 11:21:35 Done.
1046 return VisitLeaf(node, kMachPtr);
1045 case IrOpcode::kStateValues: 1047 case IrOpcode::kStateValues:
1046 VisitStateValues(node); 1048 VisitStateValues(node);
1047 break; 1049 break;
1048 default: 1050 default:
1049 VisitInputs(node); 1051 VisitInputs(node);
1050 break; 1052 break;
1051 } 1053 }
1052 } 1054 }
1053 1055
1054 void DeferReplacement(Node* node, Node* replacement) { 1056 void DeferReplacement(Node* node, Node* replacement) {
(...skipping 556 matching lines...) Expand 10 before | Expand all | Expand 10 after
1611 1613
1612 void SimplifiedLowering::DoStringLessThanOrEqual(Node* node) { 1614 void SimplifiedLowering::DoStringLessThanOrEqual(Node* node) {
1613 node->set_op(machine()->IntLessThanOrEqual()); 1615 node->set_op(machine()->IntLessThanOrEqual());
1614 node->ReplaceInput(0, StringComparison(node, true)); 1616 node->ReplaceInput(0, StringComparison(node, true));
1615 node->ReplaceInput(1, jsgraph()->SmiConstant(EQUAL)); 1617 node->ReplaceInput(1, jsgraph()->SmiConstant(EQUAL));
1616 } 1618 }
1617 1619
1618 } // namespace compiler 1620 } // namespace compiler
1619 } // namespace internal 1621 } // namespace internal
1620 } // namespace v8 1622 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698