OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 8001 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8012 int function_id = iterator.Next(); | 8012 int function_id = iterator.Next(); |
8013 JSFunction* function = | 8013 JSFunction* function = |
8014 JSFunction::cast(LiteralArray()->get(function_id)); | 8014 JSFunction::cast(LiteralArray()->get(function_id)); |
8015 unsigned height = iterator.Next(); | 8015 unsigned height = iterator.Next(); |
8016 PrintF(out, "{ast_id=%d, function=", ast_id); | 8016 PrintF(out, "{ast_id=%d, function=", ast_id); |
8017 function->PrintName(out); | 8017 function->PrintName(out); |
8018 PrintF(out, ", height=%u}", height); | 8018 PrintF(out, ", height=%u}", height); |
8019 break; | 8019 break; |
8020 } | 8020 } |
8021 | 8021 |
| 8022 case Translation::ARGUMENTS_ADAPTOR_FRAME: { |
| 8023 unsigned height = iterator.Next(); |
| 8024 PrintF(out, "{arguments adaptor, height=%d}", height); |
| 8025 break; |
| 8026 } |
| 8027 |
8022 case Translation::DUPLICATE: | 8028 case Translation::DUPLICATE: |
8023 break; | 8029 break; |
8024 | 8030 |
8025 case Translation::REGISTER: { | 8031 case Translation::REGISTER: { |
8026 int reg_code = iterator.Next(); | 8032 int reg_code = iterator.Next(); |
8027 PrintF(out, "{input=%s}", converter.NameOfCPURegister(reg_code)); | 8033 PrintF(out, "{input=%s}", converter.NameOfCPURegister(reg_code)); |
8028 break; | 8034 break; |
8029 } | 8035 } |
8030 | 8036 |
8031 case Translation::INT32_REGISTER: { | 8037 case Translation::INT32_REGISTER: { |
(...skipping 4774 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
12806 if (break_point_objects()->IsUndefined()) return 0; | 12812 if (break_point_objects()->IsUndefined()) return 0; |
12807 // Single break point. | 12813 // Single break point. |
12808 if (!break_point_objects()->IsFixedArray()) return 1; | 12814 if (!break_point_objects()->IsFixedArray()) return 1; |
12809 // Multiple break points. | 12815 // Multiple break points. |
12810 return FixedArray::cast(break_point_objects())->length(); | 12816 return FixedArray::cast(break_point_objects())->length(); |
12811 } | 12817 } |
12812 #endif // ENABLE_DEBUGGER_SUPPORT | 12818 #endif // ENABLE_DEBUGGER_SUPPORT |
12813 | 12819 |
12814 | 12820 |
12815 } } // namespace v8::internal | 12821 } } // namespace v8::internal |
OLD | NEW |