Index: src/hydrogen-instructions.cc |
diff --git a/src/hydrogen-instructions.cc b/src/hydrogen-instructions.cc |
index 50103662f562034538ae9eaa23be51297b577460..1c3e1f3956d3e7cba96055054d8a2321a54998f2 100644 |
--- a/src/hydrogen-instructions.cc |
+++ b/src/hydrogen-instructions.cc |
@@ -796,7 +796,6 @@ bool HInstruction::CanDeoptimize() { |
case HValue::kCallNew: |
case HValue::kCallNewArray: |
case HValue::kCallStub: |
- case HValue::kCallWithDescriptor: |
case HValue::kCapturedObject: |
case HValue::kClassOfTestAndBranch: |
case HValue::kCompareGeneric: |
@@ -863,6 +862,7 @@ bool HInstruction::CanDeoptimize() { |
case HValue::kBranch: |
case HValue::kCallJSFunction: |
case HValue::kCallRuntime: |
+ case HValue::kCallWithDescriptor: |
case HValue::kChange: |
case HValue::kCheckHeapObject: |
case HValue::kCheckInstanceType: |
@@ -1716,6 +1716,13 @@ std::ostream& HCallStub::PrintDataTo(std::ostream& os) const { // NOLINT |
} |
+Code::Flags HTailCallThroughMegamorphicCache::flags() const { |
+ Code::Flags code_flags = Code::RemoveTypeAndHolderFromFlags( |
+ Code::ComputeHandlerFlags(Code::LOAD_IC)); |
+ return code_flags; |
+} |
+ |
+ |
std::ostream& HTailCallThroughMegamorphicCache::PrintDataTo( |
std::ostream& os) const { // NOLINT |
for (int i = 0; i < OperandCount(); i++) { |