| 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::the_hole_value_location(Isolate* isolate) { | |
| 838 return ExternalReference(isolate->factory()->the_hole_value().location()); | |
| 839 } | |
| 840 | |
| 841 | |
| 842 ExternalReference ExternalReference::arguments_marker_location( | |
| 843 Isolate* isolate) { | |
| 844 return ExternalReference(isolate->factory()->arguments_marker().location()); | |
| 845 } | |
| 846 | |
| 847 | |
| 848 ExternalReference ExternalReference::frame_alignment_marker_location( | |
| 849 Isolate* isolate) { | |
| 850 return ExternalReference( | |
| 851 isolate->factory()->frame_alignment_marker().location()); | |
| 852 } | |
| 853 | |
| 854 | |
| 855 ExternalReference ExternalReference::roots_address(Isolate* isolate) { | 837 ExternalReference ExternalReference::roots_address(Isolate* isolate) { |
| 856 return ExternalReference(isolate->heap()->roots_address()); | 838 return ExternalReference(isolate->heap()->roots_address()); |
| 857 } | 839 } |
| 858 | 840 |
| 859 | 841 |
| 860 ExternalReference ExternalReference::address_of_stack_limit(Isolate* isolate) { | 842 ExternalReference ExternalReference::address_of_stack_limit(Isolate* isolate) { |
| 861 return ExternalReference(isolate->stack_guard()->address_of_jslimit()); | 843 return ExternalReference(isolate->stack_guard()->address_of_jslimit()); |
| 862 } | 844 } |
| 863 | 845 |
| 864 | 846 |
| (...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1249 assembler_->RecordRelocInfo(RelocInfo::POSITION, state_.current_position); | 1231 assembler_->RecordRelocInfo(RelocInfo::POSITION, state_.current_position); |
| 1250 state_.written_position = state_.current_position; | 1232 state_.written_position = state_.current_position; |
| 1251 written = true; | 1233 written = true; |
| 1252 } | 1234 } |
| 1253 | 1235 |
| 1254 // Return whether something was written. | 1236 // Return whether something was written. |
| 1255 return written; | 1237 return written; |
| 1256 } | 1238 } |
| 1257 | 1239 |
| 1258 } } // namespace v8::internal | 1240 } } // namespace v8::internal |
| OLD | NEW |