| 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 292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 303 "HandleScope::DeleteExtensions"); | 303 "HandleScope::DeleteExtensions"); |
| 304 Add(ExternalReference:: | 304 Add(ExternalReference:: |
| 305 incremental_marking_record_write_function(isolate).address(), | 305 incremental_marking_record_write_function(isolate).address(), |
| 306 RUNTIME_ENTRY, | 306 RUNTIME_ENTRY, |
| 307 5, | 307 5, |
| 308 "IncrementalMarking::RecordWrite"); | 308 "IncrementalMarking::RecordWrite"); |
| 309 Add(ExternalReference::store_buffer_overflow_function(isolate).address(), | 309 Add(ExternalReference::store_buffer_overflow_function(isolate).address(), |
| 310 RUNTIME_ENTRY, | 310 RUNTIME_ENTRY, |
| 311 6, | 311 6, |
| 312 "StoreBuffer::StoreBufferOverflow"); | 312 "StoreBuffer::StoreBufferOverflow"); |
| 313 Add(ExternalReference:: | |
| 314 incremental_evacuation_record_write_function(isolate).address(), | |
| 315 RUNTIME_ENTRY, | |
| 316 7, | |
| 317 "IncrementalMarking::RecordWrite"); | |
| 318 | 313 |
| 319 // Miscellaneous | 314 // Miscellaneous |
| 320 Add(ExternalReference::roots_array_start(isolate).address(), | 315 Add(ExternalReference::roots_array_start(isolate).address(), |
| 321 UNCLASSIFIED, | 316 UNCLASSIFIED, |
| 322 3, | 317 3, |
| 323 "Heap::roots_array_start()"); | 318 "Heap::roots_array_start()"); |
| 324 Add(ExternalReference::address_of_stack_limit(isolate).address(), | 319 Add(ExternalReference::address_of_stack_limit(isolate).address(), |
| 325 UNCLASSIFIED, | 320 UNCLASSIFIED, |
| 326 4, | 321 4, |
| 327 "StackGuard::address_of_jslimit()"); | 322 "StackGuard::address_of_jslimit()"); |
| (...skipping 1520 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1848 | 1843 |
| 1849 bool SnapshotByteSource::AtEOF() { | 1844 bool SnapshotByteSource::AtEOF() { |
| 1850 if (0u + length_ - position_ > 2 * sizeof(uint32_t)) return false; | 1845 if (0u + length_ - position_ > 2 * sizeof(uint32_t)) return false; |
| 1851 for (int x = position_; x < length_; x++) { | 1846 for (int x = position_; x < length_; x++) { |
| 1852 if (data_[x] != SerializerDeserializer::nop()) return false; | 1847 if (data_[x] != SerializerDeserializer::nop()) return false; |
| 1853 } | 1848 } |
| 1854 return true; | 1849 return true; |
| 1855 } | 1850 } |
| 1856 | 1851 |
| 1857 } } // namespace v8::internal | 1852 } } // namespace v8::internal |
| OLD | NEW |