| Index: src/compiler.h
|
| diff --git a/src/compiler.h b/src/compiler.h
|
| index 150e15101264a3e11c86853861413674cd24713f..1261eacda52e5c74e1ff2c35743cb448aa436e36 100644
|
| --- a/src/compiler.h
|
| +++ b/src/compiler.h
|
| @@ -438,27 +438,6 @@ class CompilationInfo final {
|
|
|
| SourcePositionTableBuilder::RecordingMode SourcePositionRecordingMode() const;
|
|
|
| - protected:
|
| - ParseInfo* parse_info_;
|
| -
|
| - void DisableFutureOptimization() {
|
| - if (GetFlag(kDisableFutureOptimization) && has_shared_info()) {
|
| - // If Crankshaft tried to optimize this function, bailed out, and
|
| - // doesn't want to try again, then use TurboFan next time.
|
| - if (!shared_info()->dont_crankshaft() &&
|
| - bailout_reason() != kOptimizedTooManyTimes) {
|
| - shared_info()->set_dont_crankshaft(true);
|
| - if (FLAG_trace_opt) {
|
| - PrintF("[disabled Crankshaft for ");
|
| - shared_info()->ShortPrint();
|
| - PrintF(", reason: %s]\n", GetBailoutReason(bailout_reason()));
|
| - }
|
| - } else {
|
| - shared_info()->DisableOptimization(bailout_reason());
|
| - }
|
| - }
|
| - }
|
| -
|
| private:
|
| // Compilation mode.
|
| // BASE is generated by the full codegen, optionally prepared for bailouts.
|
| @@ -473,6 +452,7 @@ class CompilationInfo final {
|
| Code::Flags code_flags, Mode mode, Isolate* isolate,
|
| Zone* zone);
|
|
|
| + ParseInfo* parse_info_;
|
| Isolate* isolate_;
|
|
|
| void SetMode(Mode mode) {
|
|
|