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