Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 89267e5c6fc23b2aacd33aa81c7335a1acfb1a81..888117cb7da297e24377cf726e48cc807a6d7e7c 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -5278,10 +5278,9 @@ class DeoptimizationInputData: public FixedArray { |
return (length() - kFirstDeoptEntryIndex) / kDeoptEntrySize; |
} |
- // Allocates a DeoptimizationInputData. |
- MUST_USE_RESULT static MaybeObject* Allocate(Isolate* isolate, |
- int deopt_entry_count, |
- PretenureFlag pretenure); |
+ static int LengthFor(int entry_count) { |
+ return IndexForEntry(entry_count); |
+ } |
// Casting. |
static inline DeoptimizationInputData* cast(Object* obj); |
@@ -5294,10 +5293,6 @@ class DeoptimizationInputData: public FixedArray { |
static int IndexForEntry(int i) { |
return kFirstDeoptEntryIndex + (i * kDeoptEntrySize); |
} |
- |
- static int LengthFor(int entry_count) { |
- return IndexForEntry(entry_count); |
- } |
}; |
@@ -5325,11 +5320,6 @@ class DeoptimizationOutputData: public FixedArray { |
return deopt_points * 2; |
} |
- // Allocates a DeoptimizationOutputData. |
- MUST_USE_RESULT static MaybeObject* Allocate(Isolate* isolate, |
- int number_of_deopt_points, |
- PretenureFlag pretenure); |
- |
// Casting. |
static inline DeoptimizationOutputData* cast(Object* obj); |