OLD | NEW |
1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 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/escape-analysis.h" | 5 #include "src/compiler/escape-analysis.h" |
6 | 6 |
7 #include <limits> | 7 #include <limits> |
8 | 8 |
9 #include "src/base/flags.h" | 9 #include "src/base/flags.h" |
10 #include "src/bootstrapper.h" | 10 #include "src/bootstrapper.h" |
(...skipping 780 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
791 use->op()->mnemonic()); | 791 use->op()->mnemonic()); |
792 return true; | 792 return true; |
793 } | 793 } |
794 break; | 794 break; |
795 case IrOpcode::kSelect: | 795 case IrOpcode::kSelect: |
796 // TODO(mstarzinger): The following list of operators will eventually be | 796 // TODO(mstarzinger): The following list of operators will eventually be |
797 // handled by the EscapeAnalysisReducer (similar to ObjectIsSmi). | 797 // handled by the EscapeAnalysisReducer (similar to ObjectIsSmi). |
798 case IrOpcode::kStringEqual: | 798 case IrOpcode::kStringEqual: |
799 case IrOpcode::kStringLessThan: | 799 case IrOpcode::kStringLessThan: |
800 case IrOpcode::kStringLessThanOrEqual: | 800 case IrOpcode::kStringLessThanOrEqual: |
| 801 case IrOpcode::kTypeGuard: |
801 case IrOpcode::kPlainPrimitiveToNumber: | 802 case IrOpcode::kPlainPrimitiveToNumber: |
802 case IrOpcode::kPlainPrimitiveToWord32: | 803 case IrOpcode::kPlainPrimitiveToWord32: |
803 case IrOpcode::kPlainPrimitiveToFloat64: | 804 case IrOpcode::kPlainPrimitiveToFloat64: |
804 case IrOpcode::kStringCharCodeAt: | 805 case IrOpcode::kStringCharCodeAt: |
805 case IrOpcode::kObjectIsCallable: | 806 case IrOpcode::kObjectIsCallable: |
806 case IrOpcode::kObjectIsNumber: | 807 case IrOpcode::kObjectIsNumber: |
807 case IrOpcode::kObjectIsReceiver: | 808 case IrOpcode::kObjectIsReceiver: |
808 case IrOpcode::kObjectIsString: | 809 case IrOpcode::kObjectIsString: |
809 case IrOpcode::kObjectIsUndetectable: | 810 case IrOpcode::kObjectIsUndetectable: |
810 if (SetEscaped(rep)) { | 811 if (SetEscaped(rep)) { |
(...skipping 824 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1635 } | 1636 } |
1636 } | 1637 } |
1637 return false; | 1638 return false; |
1638 } | 1639 } |
1639 | 1640 |
1640 Graph* EscapeAnalysis::graph() const { return status_analysis_->graph(); } | 1641 Graph* EscapeAnalysis::graph() const { return status_analysis_->graph(); } |
1641 | 1642 |
1642 } // namespace compiler | 1643 } // namespace compiler |
1643 } // namespace internal | 1644 } // namespace internal |
1644 } // namespace v8 | 1645 } // namespace v8 |
OLD | NEW |