OLD | NEW |
1 // Copyright (c) 1994-2006 Sun Microsystems Inc. | 1 // Copyright (c) 1994-2006 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 938 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
949 return ExternalReference(HandleScope::current_limit_address()); | 949 return ExternalReference(HandleScope::current_limit_address()); |
950 } | 950 } |
951 | 951 |
952 | 952 |
953 ExternalReference ExternalReference::scheduled_exception_address( | 953 ExternalReference ExternalReference::scheduled_exception_address( |
954 Isolate* isolate) { | 954 Isolate* isolate) { |
955 return ExternalReference(isolate->scheduled_exception_address()); | 955 return ExternalReference(isolate->scheduled_exception_address()); |
956 } | 956 } |
957 | 957 |
958 | 958 |
| 959 ExternalReference ExternalReference::address_of_pending_message_obj( |
| 960 Isolate* isolate) { |
| 961 return ExternalReference(isolate->pending_message_obj_address()); |
| 962 } |
| 963 |
| 964 |
| 965 ExternalReference ExternalReference::address_of_has_pending_message( |
| 966 Isolate* isolate) { |
| 967 return ExternalReference(isolate->has_pending_message_address()); |
| 968 } |
| 969 |
| 970 |
| 971 ExternalReference ExternalReference::address_of_pending_message_script( |
| 972 Isolate* isolate) { |
| 973 return ExternalReference(isolate->pending_message_script_address()); |
| 974 } |
| 975 |
| 976 |
959 ExternalReference ExternalReference::address_of_min_int() { | 977 ExternalReference ExternalReference::address_of_min_int() { |
960 return ExternalReference(reinterpret_cast<void*>(&double_constants.min_int)); | 978 return ExternalReference(reinterpret_cast<void*>(&double_constants.min_int)); |
961 } | 979 } |
962 | 980 |
963 | 981 |
964 ExternalReference ExternalReference::address_of_one_half() { | 982 ExternalReference ExternalReference::address_of_one_half() { |
965 return ExternalReference(reinterpret_cast<void*>(&double_constants.one_half)); | 983 return ExternalReference(reinterpret_cast<void*>(&double_constants.one_half)); |
966 } | 984 } |
967 | 985 |
968 | 986 |
(...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1314 assembler_->RecordRelocInfo(RelocInfo::POSITION, state_.current_position); | 1332 assembler_->RecordRelocInfo(RelocInfo::POSITION, state_.current_position); |
1315 state_.written_position = state_.current_position; | 1333 state_.written_position = state_.current_position; |
1316 written = true; | 1334 written = true; |
1317 } | 1335 } |
1318 | 1336 |
1319 // Return whether something was written. | 1337 // Return whether something was written. |
1320 return written; | 1338 return written; |
1321 } | 1339 } |
1322 | 1340 |
1323 } } // namespace v8::internal | 1341 } } // namespace v8::internal |
OLD | NEW |