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 8546 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8557 reinterpret_cast<unsigned*>(instruction_start() + offset); | 8557 reinterpret_cast<unsigned*>(instruction_start() + offset); |
8558 unsigned length = address[0]; | 8558 unsigned length = address[0]; |
8559 PrintF(out, "Stack checks (size = %u)\n", length); | 8559 PrintF(out, "Stack checks (size = %u)\n", length); |
8560 PrintF(out, "ast_id pc_offset\n"); | 8560 PrintF(out, "ast_id pc_offset\n"); |
8561 for (unsigned i = 0; i < length; ++i) { | 8561 for (unsigned i = 0; i < length; ++i) { |
8562 unsigned index = (2 * i) + 1; | 8562 unsigned index = (2 * i) + 1; |
8563 PrintF(out, "%6u %9u\n", address[index], address[index + 1]); | 8563 PrintF(out, "%6u %9u\n", address[index], address[index + 1]); |
8564 } | 8564 } |
8565 PrintF(out, "\n"); | 8565 PrintF(out, "\n"); |
8566 } | 8566 } |
| 8567 #ifdef OBJECT_PRINT |
8567 if (!type_feedback_info()->IsUndefined()) { | 8568 if (!type_feedback_info()->IsUndefined()) { |
8568 TypeFeedbackInfo::cast(type_feedback_info())->TypeFeedbackInfoPrint(out); | 8569 TypeFeedbackInfo::cast(type_feedback_info())->TypeFeedbackInfoPrint(out); |
8569 PrintF(out, "\n"); | 8570 PrintF(out, "\n"); |
8570 } | 8571 } |
| 8572 #endif |
8571 } | 8573 } |
8572 | 8574 |
8573 PrintF("RelocInfo (size = %d)\n", relocation_size()); | 8575 PrintF("RelocInfo (size = %d)\n", relocation_size()); |
8574 for (RelocIterator it(this); !it.done(); it.next()) it.rinfo()->Print(out); | 8576 for (RelocIterator it(this); !it.done(); it.next()) it.rinfo()->Print(out); |
8575 PrintF(out, "\n"); | 8577 PrintF(out, "\n"); |
8576 } | 8578 } |
8577 #endif // ENABLE_DISASSEMBLER | 8579 #endif // ENABLE_DISASSEMBLER |
8578 | 8580 |
8579 | 8581 |
8580 MaybeObject* JSObject::SetFastElementsCapacityAndLength( | 8582 MaybeObject* JSObject::SetFastElementsCapacityAndLength( |
(...skipping 4591 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
13172 set_year(Smi::FromInt(year), SKIP_WRITE_BARRIER); | 13174 set_year(Smi::FromInt(year), SKIP_WRITE_BARRIER); |
13173 set_month(Smi::FromInt(month), SKIP_WRITE_BARRIER); | 13175 set_month(Smi::FromInt(month), SKIP_WRITE_BARRIER); |
13174 set_day(Smi::FromInt(day), SKIP_WRITE_BARRIER); | 13176 set_day(Smi::FromInt(day), SKIP_WRITE_BARRIER); |
13175 set_weekday(Smi::FromInt(weekday), SKIP_WRITE_BARRIER); | 13177 set_weekday(Smi::FromInt(weekday), SKIP_WRITE_BARRIER); |
13176 set_hour(Smi::FromInt(hour), SKIP_WRITE_BARRIER); | 13178 set_hour(Smi::FromInt(hour), SKIP_WRITE_BARRIER); |
13177 set_min(Smi::FromInt(min), SKIP_WRITE_BARRIER); | 13179 set_min(Smi::FromInt(min), SKIP_WRITE_BARRIER); |
13178 set_sec(Smi::FromInt(sec), SKIP_WRITE_BARRIER); | 13180 set_sec(Smi::FromInt(sec), SKIP_WRITE_BARRIER); |
13179 } | 13181 } |
13180 | 13182 |
13181 } } // namespace v8::internal | 13183 } } // namespace v8::internal |
OLD | NEW |