OLD | NEW |
1 // Copyright (c) 2011 Sun Microsystems Inc. | 1 // Copyright (c) 2011 Sun Microsystems Inc. |
2 // All Rights Reserved. | 2 // All Rights Reserved. |
3 // | 3 // |
4 // Redistribution and use in source and binary forms, with or without | 4 // Redistribution and use in source and binary forms, with or without |
5 // modification, are permitted provided that the following conditions are | 5 // modification, are permitted provided that the following conditions are |
6 // met: | 6 // met: |
7 // | 7 // |
8 // - Redistributions of source code must retain the above copyright notice, | 8 // - Redistributions of source code must retain the above copyright notice, |
9 // this list of conditions and the following disclaimer. | 9 // this list of conditions and the following disclaimer. |
10 // | 10 // |
(...skipping 816 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
827 } | 827 } |
828 | 828 |
829 | 829 |
830 ExternalReference ExternalReference::keyed_lookup_cache_field_offsets( | 830 ExternalReference ExternalReference::keyed_lookup_cache_field_offsets( |
831 Isolate* isolate) { | 831 Isolate* isolate) { |
832 return ExternalReference( | 832 return ExternalReference( |
833 isolate->keyed_lookup_cache()->field_offsets_address()); | 833 isolate->keyed_lookup_cache()->field_offsets_address()); |
834 } | 834 } |
835 | 835 |
836 | 836 |
837 ExternalReference ExternalReference::roots_address(Isolate* isolate) { | 837 ExternalReference ExternalReference::roots_array_start(Isolate* isolate) { |
838 return ExternalReference(isolate->heap()->roots_address()); | 838 return ExternalReference(isolate->heap()->roots_array_start()); |
839 } | 839 } |
840 | 840 |
841 | 841 |
842 ExternalReference ExternalReference::address_of_stack_limit(Isolate* isolate) { | 842 ExternalReference ExternalReference::address_of_stack_limit(Isolate* isolate) { |
843 return ExternalReference(isolate->stack_guard()->address_of_jslimit()); | 843 return ExternalReference(isolate->stack_guard()->address_of_jslimit()); |
844 } | 844 } |
845 | 845 |
846 | 846 |
847 ExternalReference ExternalReference::address_of_real_stack_limit( | 847 ExternalReference ExternalReference::address_of_real_stack_limit( |
848 Isolate* isolate) { | 848 Isolate* isolate) { |
(...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1231 assembler_->RecordRelocInfo(RelocInfo::POSITION, state_.current_position); | 1231 assembler_->RecordRelocInfo(RelocInfo::POSITION, state_.current_position); |
1232 state_.written_position = state_.current_position; | 1232 state_.written_position = state_.current_position; |
1233 written = true; | 1233 written = true; |
1234 } | 1234 } |
1235 | 1235 |
1236 // Return whether something was written. | 1236 // Return whether something was written. |
1237 return written; | 1237 return written; |
1238 } | 1238 } |
1239 | 1239 |
1240 } } // namespace v8::internal | 1240 } } // namespace v8::internal |
OLD | NEW |