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 8361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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()) { | 8378 if (is_compare_ic_stub()) { |
8379 CompareIC::State state = CompareIC::ComputeState(this); | 8379 CompareIC::State state = CompareIC::ComputeState(this); |
8380 PrintF(out, "compare_state = %s\n", CompareIC::GetStateName(state)); | 8380 PrintF(out, "compare_state = %s\n", CompareIC::GetStateName(state)); |
8381 } | 8381 } |
| 8382 if (is_compare_ic_stub() && major_key() == CodeStub::CompareIC) { |
| 8383 Token::Value op = CompareIC::ComputeOperation(this); |
| 8384 PrintF(out, "compare_operation = %s\n", Token::Name(op)); |
| 8385 } |
8382 } | 8386 } |
8383 if ((name != NULL) && (name[0] != '\0')) { | 8387 if ((name != NULL) && (name[0] != '\0')) { |
8384 PrintF(out, "name = %s\n", name); | 8388 PrintF(out, "name = %s\n", name); |
8385 } | 8389 } |
8386 if (kind() == OPTIMIZED_FUNCTION) { | 8390 if (kind() == OPTIMIZED_FUNCTION) { |
8387 PrintF(out, "stack_slots = %d\n", stack_slots()); | 8391 PrintF(out, "stack_slots = %d\n", stack_slots()); |
8388 } | 8392 } |
8389 | 8393 |
8390 PrintF(out, "Instructions (size = %d)\n", instruction_size()); | 8394 PrintF(out, "Instructions (size = %d)\n", instruction_size()); |
8391 Disassembler::Decode(out, this); | 8395 Disassembler::Decode(out, this); |
(...skipping 4576 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
12968 set_year(Smi::FromInt(year), SKIP_WRITE_BARRIER); | 12972 set_year(Smi::FromInt(year), SKIP_WRITE_BARRIER); |
12969 set_month(Smi::FromInt(month), SKIP_WRITE_BARRIER); | 12973 set_month(Smi::FromInt(month), SKIP_WRITE_BARRIER); |
12970 set_day(Smi::FromInt(day), SKIP_WRITE_BARRIER); | 12974 set_day(Smi::FromInt(day), SKIP_WRITE_BARRIER); |
12971 set_weekday(Smi::FromInt(weekday), SKIP_WRITE_BARRIER); | 12975 set_weekday(Smi::FromInt(weekday), SKIP_WRITE_BARRIER); |
12972 set_hour(Smi::FromInt(hour), SKIP_WRITE_BARRIER); | 12976 set_hour(Smi::FromInt(hour), SKIP_WRITE_BARRIER); |
12973 set_min(Smi::FromInt(min), SKIP_WRITE_BARRIER); | 12977 set_min(Smi::FromInt(min), SKIP_WRITE_BARRIER); |
12974 set_sec(Smi::FromInt(sec), SKIP_WRITE_BARRIER); | 12978 set_sec(Smi::FromInt(sec), SKIP_WRITE_BARRIER); |
12975 } | 12979 } |
12976 | 12980 |
12977 } } // namespace v8::internal | 12981 } } // namespace v8::internal |
OLD | NEW |