| 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 |
| 958 ExternalReference ExternalReference::address_of_min_int() { | 964 ExternalReference ExternalReference::address_of_min_int() { |
| 959 return ExternalReference(reinterpret_cast<void*>(&double_constants.min_int)); | 965 return ExternalReference(reinterpret_cast<void*>(&double_constants.min_int)); |
| 960 } | 966 } |
| 961 | 967 |
| 962 | 968 |
| 963 ExternalReference ExternalReference::address_of_one_half() { | 969 ExternalReference ExternalReference::address_of_one_half() { |
| 964 return ExternalReference(reinterpret_cast<void*>(&double_constants.one_half)); | 970 return ExternalReference(reinterpret_cast<void*>(&double_constants.one_half)); |
| 965 } | 971 } |
| 966 | 972 |
| 967 | 973 |
| (...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1313 assembler_->RecordRelocInfo(RelocInfo::POSITION, state_.current_position); | 1319 assembler_->RecordRelocInfo(RelocInfo::POSITION, state_.current_position); |
| 1314 state_.written_position = state_.current_position; | 1320 state_.written_position = state_.current_position; |
| 1315 written = true; | 1321 written = true; |
| 1316 } | 1322 } |
| 1317 | 1323 |
| 1318 // Return whether something was written. | 1324 // Return whether something was written. |
| 1319 return written; | 1325 return written; |
| 1320 } | 1326 } |
| 1321 | 1327 |
| 1322 } } // namespace v8::internal | 1328 } } // namespace v8::internal |
| OLD | NEW |