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 8968 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8979 } | 8979 } |
8980 | 8980 |
8981 case Translation::INT32_REGISTER: { | 8981 case Translation::INT32_REGISTER: { |
8982 int reg_code = iterator.Next(); | 8982 int reg_code = iterator.Next(); |
8983 PrintF(out, "{input=%s}", converter.NameOfCPURegister(reg_code)); | 8983 PrintF(out, "{input=%s}", converter.NameOfCPURegister(reg_code)); |
8984 break; | 8984 break; |
8985 } | 8985 } |
8986 | 8986 |
8987 case Translation::UINT32_REGISTER: { | 8987 case Translation::UINT32_REGISTER: { |
8988 int reg_code = iterator.Next(); | 8988 int reg_code = iterator.Next(); |
8989 PrintF(out, | 8989 PrintF(out, "{input=%s (unsigned)}", |
8990 "{input=%s (unsigned)}", | |
8991 converter.NameOfCPURegister(reg_code)); | 8990 converter.NameOfCPURegister(reg_code)); |
8992 break; | 8991 break; |
8993 } | 8992 } |
8994 | 8993 |
8995 case Translation::DOUBLE_REGISTER: { | 8994 case Translation::DOUBLE_REGISTER: { |
8996 int reg_code = iterator.Next(); | 8995 int reg_code = iterator.Next(); |
8997 PrintF(out, "{input=%s}", | 8996 PrintF(out, "{input=%s}", |
8998 DoubleRegister::AllocationIndexToString(reg_code)); | 8997 DoubleRegister::AllocationIndexToString(reg_code)); |
8999 break; | 8998 break; |
9000 } | 8999 } |
(...skipping 22 matching lines...) Expand all Loading... |
9023 break; | 9022 break; |
9024 } | 9023 } |
9025 | 9024 |
9026 case Translation::LITERAL: { | 9025 case Translation::LITERAL: { |
9027 unsigned literal_index = iterator.Next(); | 9026 unsigned literal_index = iterator.Next(); |
9028 PrintF(out, "{literal_id=%u}", literal_index); | 9027 PrintF(out, "{literal_id=%u}", literal_index); |
9029 break; | 9028 break; |
9030 } | 9029 } |
9031 | 9030 |
9032 case Translation::ARGUMENTS_OBJECT: { | 9031 case Translation::ARGUMENTS_OBJECT: { |
| 9032 bool args_known = iterator.Next(); |
9033 int args_index = iterator.Next(); | 9033 int args_index = iterator.Next(); |
9034 int args_length = iterator.Next(); | 9034 int args_length = iterator.Next(); |
9035 PrintF(out, "{index=%d, length=%d}", args_index, args_length); | 9035 PrintF(out, "{index=%d, length=%d, known=%d}", |
| 9036 args_index, args_length, args_known); |
9036 break; | 9037 break; |
9037 } | 9038 } |
9038 } | 9039 } |
9039 PrintF(out, "\n"); | 9040 PrintF(out, "\n"); |
9040 } | 9041 } |
9041 } | 9042 } |
9042 } | 9043 } |
9043 | 9044 |
9044 | 9045 |
9045 void DeoptimizationOutputData::DeoptimizationOutputDataPrint(FILE* out) { | 9046 void DeoptimizationOutputData::DeoptimizationOutputDataPrint(FILE* out) { |
(...skipping 4944 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
13990 set_year(Smi::FromInt(year), SKIP_WRITE_BARRIER); | 13991 set_year(Smi::FromInt(year), SKIP_WRITE_BARRIER); |
13991 set_month(Smi::FromInt(month), SKIP_WRITE_BARRIER); | 13992 set_month(Smi::FromInt(month), SKIP_WRITE_BARRIER); |
13992 set_day(Smi::FromInt(day), SKIP_WRITE_BARRIER); | 13993 set_day(Smi::FromInt(day), SKIP_WRITE_BARRIER); |
13993 set_weekday(Smi::FromInt(weekday), SKIP_WRITE_BARRIER); | 13994 set_weekday(Smi::FromInt(weekday), SKIP_WRITE_BARRIER); |
13994 set_hour(Smi::FromInt(hour), SKIP_WRITE_BARRIER); | 13995 set_hour(Smi::FromInt(hour), SKIP_WRITE_BARRIER); |
13995 set_min(Smi::FromInt(min), SKIP_WRITE_BARRIER); | 13996 set_min(Smi::FromInt(min), SKIP_WRITE_BARRIER); |
13996 set_sec(Smi::FromInt(sec), SKIP_WRITE_BARRIER); | 13997 set_sec(Smi::FromInt(sec), SKIP_WRITE_BARRIER); |
13997 } | 13998 } |
13998 | 13999 |
13999 } } // namespace v8::internal | 14000 } } // namespace v8::internal |
OLD | NEW |