Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index b8fc5ffd4787547c95ad0a8a77eebad9d662e2a7..ad3813205809d23dcd709d322f3552f533b64cd7 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -10577,6 +10577,14 @@ Handle<DeoptimizationOutputData> DeoptimizationOutputData::New( |
return Handle<DeoptimizationOutputData>::cast(result); |
} |
+SharedFunctionInfo* DeoptimizationInputData::GetInlinedFunction(int index) { |
+ if (index == -1) { |
+ return SharedFunctionInfo::cast(SharedFunctionInfo()); |
+ } else { |
+ return SharedFunctionInfo::cast(LiteralArray()->get(index)); |
+ } |
+} |
+ |
const int LiteralsArray::kFeedbackVectorOffset = |
LiteralsArray::OffsetOfElementAt(LiteralsArray::kVectorIndex); |