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 490 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
501 50, | 501 50, |
502 "pending_message_script"); | 502 "pending_message_script"); |
503 Add(ExternalReference::get_make_code_young_function(isolate).address(), | 503 Add(ExternalReference::get_make_code_young_function(isolate).address(), |
504 UNCLASSIFIED, | 504 UNCLASSIFIED, |
505 51, | 505 51, |
506 "Code::MakeCodeYoung"); | 506 "Code::MakeCodeYoung"); |
507 Add(ExternalReference::cpu_features().address(), | 507 Add(ExternalReference::cpu_features().address(), |
508 UNCLASSIFIED, | 508 UNCLASSIFIED, |
509 52, | 509 52, |
510 "cpu_features"); | 510 "cpu_features"); |
511 Add(ExternalReference(Runtime::kAllocateInNewSpace, isolate).address(), | 511 Add(ExternalReference(Runtime::kHiddenAllocateInNewSpace, isolate).address(), |
512 UNCLASSIFIED, | 512 UNCLASSIFIED, |
513 53, | 513 53, |
514 "Runtime::AllocateInNewSpace"); | 514 "Runtime::AllocateInNewSpace"); |
515 Add(ExternalReference(Runtime::kAllocateInTargetSpace, isolate).address(), | 515 Add(ExternalReference( |
| 516 Runtime::kHiddenAllocateInTargetSpace, isolate).address(), |
516 UNCLASSIFIED, | 517 UNCLASSIFIED, |
517 54, | 518 54, |
518 "Runtime::AllocateInTargetSpace"); | 519 "Runtime::AllocateInTargetSpace"); |
519 Add(ExternalReference::old_pointer_space_allocation_top_address( | 520 Add(ExternalReference::old_pointer_space_allocation_top_address( |
520 isolate).address(), | 521 isolate).address(), |
521 UNCLASSIFIED, | 522 UNCLASSIFIED, |
522 55, | 523 55, |
523 "Heap::OldPointerSpaceAllocationTopAddress"); | 524 "Heap::OldPointerSpaceAllocationTopAddress"); |
524 Add(ExternalReference::old_pointer_space_allocation_limit_address( | 525 Add(ExternalReference::old_pointer_space_allocation_limit_address( |
525 isolate).address(), | 526 isolate).address(), |
(...skipping 1344 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1870 | 1871 |
1871 bool SnapshotByteSource::AtEOF() { | 1872 bool SnapshotByteSource::AtEOF() { |
1872 if (0u + length_ - position_ > 2 * sizeof(uint32_t)) return false; | 1873 if (0u + length_ - position_ > 2 * sizeof(uint32_t)) return false; |
1873 for (int x = position_; x < length_; x++) { | 1874 for (int x = position_; x < length_; x++) { |
1874 if (data_[x] != SerializerDeserializer::nop()) return false; | 1875 if (data_[x] != SerializerDeserializer::nop()) return false; |
1875 } | 1876 } |
1876 return true; | 1877 return true; |
1877 } | 1878 } |
1878 | 1879 |
1879 } } // namespace v8::internal | 1880 } } // namespace v8::internal |
OLD | NEW |