OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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 10631 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10642 PrintF(out, "{input=%d}", input_slot_index); | 10642 PrintF(out, "{input=%d}", input_slot_index); |
10643 break; | 10643 break; |
10644 } | 10644 } |
10645 | 10645 |
10646 case Translation::LITERAL: { | 10646 case Translation::LITERAL: { |
10647 unsigned literal_index = iterator.Next(); | 10647 unsigned literal_index = iterator.Next(); |
10648 PrintF(out, "{literal_id=%u}", literal_index); | 10648 PrintF(out, "{literal_id=%u}", literal_index); |
10649 break; | 10649 break; |
10650 } | 10650 } |
10651 | 10651 |
10652 case Translation::ARGUMENTS_OBJECT: { | 10652 case Translation::DUPLICATED_OBJECT: { |
| 10653 int object_index = iterator.Next(); |
| 10654 PrintF(out, "{object_index=%d}", object_index); |
| 10655 break; |
| 10656 } |
| 10657 |
| 10658 case Translation::ARGUMENTS_OBJECT: |
| 10659 case Translation::CAPTURED_OBJECT: { |
10653 int args_length = iterator.Next(); | 10660 int args_length = iterator.Next(); |
10654 PrintF(out, "{length=%d}", args_length); | 10661 PrintF(out, "{length=%d}", args_length); |
10655 break; | 10662 break; |
10656 } | 10663 } |
10657 } | 10664 } |
10658 PrintF(out, "\n"); | 10665 PrintF(out, "\n"); |
10659 } | 10666 } |
10660 } | 10667 } |
10661 } | 10668 } |
10662 | 10669 |
(...skipping 5309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
15972 | 15979 |
15973 void PropertyCell::AddDependentCode(Handle<Code> code) { | 15980 void PropertyCell::AddDependentCode(Handle<Code> code) { |
15974 Handle<DependentCode> codes = DependentCode::Insert( | 15981 Handle<DependentCode> codes = DependentCode::Insert( |
15975 Handle<DependentCode>(dependent_code()), | 15982 Handle<DependentCode>(dependent_code()), |
15976 DependentCode::kPropertyCellChangedGroup, code); | 15983 DependentCode::kPropertyCellChangedGroup, code); |
15977 if (*codes != dependent_code()) set_dependent_code(*codes); | 15984 if (*codes != dependent_code()) set_dependent_code(*codes); |
15978 } | 15985 } |
15979 | 15986 |
15980 | 15987 |
15981 } } // namespace v8::internal | 15988 } } // namespace v8::internal |
OLD | NEW |