Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 2cc232c50a75147c2c82bf17619c48ebd8562073..f9f2556b0bfbb6dd0ab2429b7374b8cb190b9ebe 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -6148,11 +6148,6 @@ class SharedFunctionInfo: public HeapObject { |
inline int ast_node_count(); |
inline void set_ast_node_count(int count); |
- // A counter used to determine when to stress the deoptimizer with a |
- // deopt. |
- inline int stress_deopt_counter(); |
- inline void set_stress_deopt_counter(int counter); |
- |
inline int profiler_ticks(); |
// Inline cache age is used to infer whether the function survived a context |
@@ -6344,10 +6339,9 @@ class SharedFunctionInfo: public HeapObject { |
kFunctionTokenPositionOffset + kPointerSize; |
static const int kOptCountOffset = kCompilerHintsOffset + kPointerSize; |
static const int kCountersOffset = kOptCountOffset + kPointerSize; |
- static const int kStressDeoptCounterOffset = kCountersOffset + kPointerSize; |
// Total size. |
- static const int kSize = kStressDeoptCounterOffset + kPointerSize; |
+ static const int kSize = kCountersOffset + kPointerSize; |
#else |
// The only reason to use smi fields instead of int fields |
// is to allow iteration without maps decoding during |
@@ -6381,10 +6375,9 @@ class SharedFunctionInfo: public HeapObject { |
static const int kOptCountOffset = kCompilerHintsOffset + kIntSize; |
static const int kCountersOffset = kOptCountOffset + kIntSize; |
- static const int kStressDeoptCounterOffset = kCountersOffset + kIntSize; |
// Total size. |
- static const int kSize = kStressDeoptCounterOffset + kIntSize; |
+ static const int kSize = kCountersOffset + kIntSize; |
#endif |