OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "src/compiler/pipeline.h" | 5 #include "src/compiler/pipeline.h" |
6 | 6 |
7 #include <fstream> // NOLINT(readability/streams) | 7 #include <fstream> // NOLINT(readability/streams) |
8 #include <memory> | 8 #include <memory> |
9 #include <sstream> | 9 #include <sstream> |
10 | 10 |
(...skipping 587 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
598 if (info()->shared_info()->asm_function()) { | 598 if (info()->shared_info()->asm_function()) { |
599 if (info()->osr_frame()) info()->MarkAsFrameSpecializing(); | 599 if (info()->osr_frame()) info()->MarkAsFrameSpecializing(); |
600 info()->MarkAsFunctionContextSpecializing(); | 600 info()->MarkAsFunctionContextSpecializing(); |
601 } else { | 601 } else { |
602 if (!FLAG_always_opt) { | 602 if (!FLAG_always_opt) { |
603 info()->MarkAsBailoutOnUninitialized(); | 603 info()->MarkAsBailoutOnUninitialized(); |
604 } | 604 } |
605 if (FLAG_native_context_specialization) { | 605 if (FLAG_native_context_specialization) { |
606 info()->MarkAsNativeContextSpecializing(); | 606 info()->MarkAsNativeContextSpecializing(); |
607 } | 607 } |
| 608 if (FLAG_turbo_inlining) { |
| 609 info()->MarkAsInliningEnabled(); |
| 610 } |
608 } | 611 } |
609 if (!info()->shared_info()->asm_function() || FLAG_turbo_asm_deoptimization) { | 612 if (!info()->shared_info()->asm_function() || FLAG_turbo_asm_deoptimization) { |
610 info()->MarkAsDeoptimizationEnabled(); | 613 info()->MarkAsDeoptimizationEnabled(); |
611 } | 614 } |
612 if (!info()->is_optimizing_from_bytecode()) { | 615 if (!info()->is_optimizing_from_bytecode()) { |
613 if (FLAG_inline_accessors) { | 616 if (FLAG_inline_accessors) { |
614 info()->MarkAsAccessorInliningEnabled(); | 617 info()->MarkAsAccessorInliningEnabled(); |
615 } | 618 } |
616 if (info()->is_deoptimization_enabled() && FLAG_turbo_type_feedback) { | 619 if (info()->is_deoptimization_enabled() && FLAG_turbo_type_feedback) { |
617 info()->MarkAsTypeFeedbackEnabled(); | 620 info()->MarkAsTypeFeedbackEnabled(); |
(...skipping 1328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1946 data->DeleteRegisterAllocationZone(); | 1949 data->DeleteRegisterAllocationZone(); |
1947 } | 1950 } |
1948 | 1951 |
1949 CompilationInfo* PipelineImpl::info() const { return data_->info(); } | 1952 CompilationInfo* PipelineImpl::info() const { return data_->info(); } |
1950 | 1953 |
1951 Isolate* PipelineImpl::isolate() const { return info()->isolate(); } | 1954 Isolate* PipelineImpl::isolate() const { return info()->isolate(); } |
1952 | 1955 |
1953 } // namespace compiler | 1956 } // namespace compiler |
1954 } // namespace internal | 1957 } // namespace internal |
1955 } // namespace v8 | 1958 } // namespace v8 |
OLD | NEW |