Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 522ee394f3f9225f7ea3a47cdb388d0edee7c3fc..f458a541232305212e9b67a424619515eb0743bf 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -6895,7 +6895,7 @@ class SharedFunctionInfo: public HeapObject { |
// shared function info. |
void DisableOptimization(BailoutReason reason); |
- inline BailoutReason DisableOptimizationReason(); |
+ inline BailoutReason disable_optimization_reason(); |
// Lookup the bailout ID and DCHECK that it exists in the non-optimized |
// code, returns whether it asserted (i.e., always true if assertions are |
@@ -6930,7 +6930,7 @@ class SharedFunctionInfo: public HeapObject { |
inline void set_opt_count_and_bailout_reason(int value); |
inline int opt_count_and_bailout_reason() const; |
- void set_bailout_reason(BailoutReason reason) { |
+ void set_disable_optimization_reason(BailoutReason reason) { |
set_opt_count_and_bailout_reason( |
DisabledOptimizationReasonBits::update(opt_count_and_bailout_reason(), |
reason)); |