about summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
authorEduard Burtescu <edy.burt@gmail.com>2016-07-04 21:06:50 +0300
committerEduard Burtescu <edy.burt@gmail.com>2016-07-04 21:06:50 +0300
commit0ec3d98702f28065938fc0a98812bd53f968ebc2 (patch)
treee1afc67d81f55655430c15414a7abed10639c1e5 /src/libcore
parentacfa113c12e986a084f4a9346a479f9573f5b54f (diff)
downloadrust-0ec3d98702f28065938fc0a98812bd53f968ebc2.tar.gz
rust-0ec3d98702f28065938fc0a98812bd53f968ebc2.zip
Revert "Revert "Remove the return_address intrinsic.""
This reverts commit f698cd3a3663a459e459f530f76adef3eeb815fd.
Diffstat (limited to 'src/libcore')
-rw-r--r--src/libcore/intrinsics.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/libcore/intrinsics.rs b/src/libcore/intrinsics.rs
index 94baf188bca..edb965c1962 100644
--- a/src/libcore/intrinsics.rs
+++ b/src/libcore/intrinsics.rs
@@ -293,12 +293,6 @@ extern "rust-intrinsic" {
     #[stable(feature = "rust1", since = "1.0.0")]
     pub fn transmute<T, U>(e: T) -> U;
 
-    /// Gives the address for the return value of the enclosing function.
-    ///
-    /// Using this intrinsic in a function that does not use an out pointer
-    /// will trigger a compiler error.
-    pub fn return_address() -> *const u8;
-
     /// Returns `true` if the actual type given as `T` requires drop
     /// glue; returns `false` if the actual type provided for `T`
     /// implements `Copy`.