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 802 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
813 case IrOpcode::kConvertTaggedHoleToUndefined: | 813 case IrOpcode::kConvertTaggedHoleToUndefined: |
814 case IrOpcode::kStringEqual: | 814 case IrOpcode::kStringEqual: |
815 case IrOpcode::kStringLessThan: | 815 case IrOpcode::kStringLessThan: |
816 case IrOpcode::kStringLessThanOrEqual: | 816 case IrOpcode::kStringLessThanOrEqual: |
817 case IrOpcode::kTypeGuard: | 817 case IrOpcode::kTypeGuard: |
818 case IrOpcode::kPlainPrimitiveToNumber: | 818 case IrOpcode::kPlainPrimitiveToNumber: |
819 case IrOpcode::kPlainPrimitiveToWord32: | 819 case IrOpcode::kPlainPrimitiveToWord32: |
820 case IrOpcode::kPlainPrimitiveToFloat64: | 820 case IrOpcode::kPlainPrimitiveToFloat64: |
821 case IrOpcode::kStringCharAt: | 821 case IrOpcode::kStringCharAt: |
822 case IrOpcode::kStringCharCodeAt: | 822 case IrOpcode::kStringCharCodeAt: |
| 823 case IrOpcode::kStringIndexOf: |
823 case IrOpcode::kObjectIsCallable: | 824 case IrOpcode::kObjectIsCallable: |
824 case IrOpcode::kObjectIsNonCallable: | 825 case IrOpcode::kObjectIsNonCallable: |
825 case IrOpcode::kObjectIsNumber: | 826 case IrOpcode::kObjectIsNumber: |
826 case IrOpcode::kObjectIsReceiver: | 827 case IrOpcode::kObjectIsReceiver: |
827 case IrOpcode::kObjectIsString: | 828 case IrOpcode::kObjectIsString: |
828 case IrOpcode::kObjectIsUndetectable: | 829 case IrOpcode::kObjectIsUndetectable: |
829 if (SetEscaped(rep)) { | 830 if (SetEscaped(rep)) { |
830 TRACE("Setting #%d (%s) to escaped because of use by #%d (%s)\n", | 831 TRACE("Setting #%d (%s) to escaped because of use by #%d (%s)\n", |
831 rep->id(), rep->op()->mnemonic(), use->id(), | 832 rep->id(), rep->op()->mnemonic(), use->id(), |
832 use->op()->mnemonic()); | 833 use->op()->mnemonic()); |
(...skipping 881 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1714 } | 1715 } |
1715 } | 1716 } |
1716 return false; | 1717 return false; |
1717 } | 1718 } |
1718 | 1719 |
1719 Graph* EscapeAnalysis::graph() const { return status_analysis_->graph(); } | 1720 Graph* EscapeAnalysis::graph() const { return status_analysis_->graph(); } |
1720 | 1721 |
1721 } // namespace compiler | 1722 } // namespace compiler |
1722 } // namespace internal | 1723 } // namespace internal |
1723 } // namespace v8 | 1724 } // namespace v8 |
OLD | NEW |