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 1288 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1299 if (str->length() > 0) { | 1299 if (str->length() > 0) { |
1300 accumulator->Add("<JS Function "); | 1300 accumulator->Add("<JS Function "); |
1301 accumulator->Put(str); | 1301 accumulator->Put(str); |
1302 printed = true; | 1302 printed = true; |
1303 } | 1303 } |
1304 } | 1304 } |
1305 if (!printed) { | 1305 if (!printed) { |
1306 accumulator->Add("<JS Function"); | 1306 accumulator->Add("<JS Function"); |
1307 } | 1307 } |
1308 accumulator->Add(" (SharedFunctionInfo %p)", | 1308 accumulator->Add(" (SharedFunctionInfo %p)", |
1309 reinterpret_cast<intptr_t>(function->shared())); | 1309 reinterpret_cast<void*>(function->shared())); |
1310 accumulator->Put('>'); | 1310 accumulator->Put('>'); |
1311 break; | 1311 break; |
1312 } | 1312 } |
1313 case JS_GENERATOR_OBJECT_TYPE: { | 1313 case JS_GENERATOR_OBJECT_TYPE: { |
1314 accumulator->Add("<JS Generator>"); | 1314 accumulator->Add("<JS Generator>"); |
1315 break; | 1315 break; |
1316 } | 1316 } |
1317 case JS_MODULE_TYPE: { | 1317 case JS_MODULE_TYPE: { |
1318 accumulator->Add("<JS Module>"); | 1318 accumulator->Add("<JS Module>"); |
1319 break; | 1319 break; |
(...skipping 14034 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
15354 set_year(Smi::FromInt(year), SKIP_WRITE_BARRIER); | 15354 set_year(Smi::FromInt(year), SKIP_WRITE_BARRIER); |
15355 set_month(Smi::FromInt(month), SKIP_WRITE_BARRIER); | 15355 set_month(Smi::FromInt(month), SKIP_WRITE_BARRIER); |
15356 set_day(Smi::FromInt(day), SKIP_WRITE_BARRIER); | 15356 set_day(Smi::FromInt(day), SKIP_WRITE_BARRIER); |
15357 set_weekday(Smi::FromInt(weekday), SKIP_WRITE_BARRIER); | 15357 set_weekday(Smi::FromInt(weekday), SKIP_WRITE_BARRIER); |
15358 set_hour(Smi::FromInt(hour), SKIP_WRITE_BARRIER); | 15358 set_hour(Smi::FromInt(hour), SKIP_WRITE_BARRIER); |
15359 set_min(Smi::FromInt(min), SKIP_WRITE_BARRIER); | 15359 set_min(Smi::FromInt(min), SKIP_WRITE_BARRIER); |
15360 set_sec(Smi::FromInt(sec), SKIP_WRITE_BARRIER); | 15360 set_sec(Smi::FromInt(sec), SKIP_WRITE_BARRIER); |
15361 } | 15361 } |
15362 | 15362 |
15363 } } // namespace v8::internal | 15363 } } // namespace v8::internal |
OLD | NEW |