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 8357 matching lines...) Loading... |
8368 PrintF(out, "kind = %s\n", Kind2String(kind())); | 8368 PrintF(out, "kind = %s\n", Kind2String(kind())); |
8369 if (is_inline_cache_stub()) { | 8369 if (is_inline_cache_stub()) { |
8370 PrintF(out, "ic_state = %s\n", ICState2String(ic_state())); | 8370 PrintF(out, "ic_state = %s\n", ICState2String(ic_state())); |
8371 PrintExtraICState(out, kind(), extra_ic_state()); | 8371 PrintExtraICState(out, kind(), extra_ic_state()); |
8372 if (ic_state() == MONOMORPHIC) { | 8372 if (ic_state() == MONOMORPHIC) { |
8373 PrintF(out, "type = %s\n", PropertyType2String(type())); | 8373 PrintF(out, "type = %s\n", PropertyType2String(type())); |
8374 } | 8374 } |
8375 if (is_call_stub() || is_keyed_call_stub()) { | 8375 if (is_call_stub() || is_keyed_call_stub()) { |
8376 PrintF(out, "argc = %d\n", arguments_count()); | 8376 PrintF(out, "argc = %d\n", arguments_count()); |
8377 } | 8377 } |
| 8378 if (is_compare_ic_stub()) { |
| 8379 CompareIC::State state = CompareIC::ComputeState(this); |
| 8380 PrintF(out, "compare_state = %s\n", CompareIC::GetStateName(state)); |
| 8381 } |
8378 } | 8382 } |
8379 if ((name != NULL) && (name[0] != '\0')) { | 8383 if ((name != NULL) && (name[0] != '\0')) { |
8380 PrintF(out, "name = %s\n", name); | 8384 PrintF(out, "name = %s\n", name); |
8381 } | 8385 } |
8382 if (kind() == OPTIMIZED_FUNCTION) { | 8386 if (kind() == OPTIMIZED_FUNCTION) { |
8383 PrintF(out, "stack_slots = %d\n", stack_slots()); | 8387 PrintF(out, "stack_slots = %d\n", stack_slots()); |
8384 } | 8388 } |
8385 | 8389 |
8386 PrintF(out, "Instructions (size = %d)\n", instruction_size()); | 8390 PrintF(out, "Instructions (size = %d)\n", instruction_size()); |
8387 Disassembler::Decode(out, this); | 8391 Disassembler::Decode(out, this); |
(...skipping 4576 matching lines...) Loading... |
12964 set_year(Smi::FromInt(year), SKIP_WRITE_BARRIER); | 12968 set_year(Smi::FromInt(year), SKIP_WRITE_BARRIER); |
12965 set_month(Smi::FromInt(month), SKIP_WRITE_BARRIER); | 12969 set_month(Smi::FromInt(month), SKIP_WRITE_BARRIER); |
12966 set_day(Smi::FromInt(day), SKIP_WRITE_BARRIER); | 12970 set_day(Smi::FromInt(day), SKIP_WRITE_BARRIER); |
12967 set_weekday(Smi::FromInt(weekday), SKIP_WRITE_BARRIER); | 12971 set_weekday(Smi::FromInt(weekday), SKIP_WRITE_BARRIER); |
12968 set_hour(Smi::FromInt(hour), SKIP_WRITE_BARRIER); | 12972 set_hour(Smi::FromInt(hour), SKIP_WRITE_BARRIER); |
12969 set_min(Smi::FromInt(min), SKIP_WRITE_BARRIER); | 12973 set_min(Smi::FromInt(min), SKIP_WRITE_BARRIER); |
12970 set_sec(Smi::FromInt(sec), SKIP_WRITE_BARRIER); | 12974 set_sec(Smi::FromInt(sec), SKIP_WRITE_BARRIER); |
12971 } | 12975 } |
12972 | 12976 |
12973 } } // namespace v8::internal | 12977 } } // namespace v8::internal |
OLD | NEW |