about summary refs log tree commit diff
path: root/src/rt
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2011-12-12 16:58:21 -0800
committerBrian Anderson <banderson@mozilla.com>2011-12-12 16:58:21 -0800
commit1c1bc2f1cde93a27dbee690280ee81fde8b2ceeb (patch)
treecc2e592446ca0e267660676f54c4feb92d0c264b /src/rt
parent76f13c95a0d1b1f33805719ccde9600b000e4418 (diff)
downloadrust-1c1bc2f1cde93a27dbee690280ee81fde8b2ceeb.tar.gz
rust-1c1bc2f1cde93a27dbee690280ee81fde8b2ceeb.zip
rt: Remove some duplicated code from 64-bit __morestack
Diffstat (limited to 'src/rt')
-rw-r--r--src/rt/arch/x86_64/morestack.S12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/rt/arch/x86_64/morestack.S b/src/rt/arch/x86_64/morestack.S
index 80c77e8b1fc..3cb5e2d8a9d 100644
--- a/src/rt/arch/x86_64/morestack.S
+++ b/src/rt/arch/x86_64/morestack.S
@@ -71,18 +71,6 @@ MORESTACK:
 	leaq 16(%rbp), %rax
 	pushq %rax
 
-	// During unwinding we want to skip our caller since it's not
-	// a complete frame and will make the unwinder sad
-	// Don't understand this line
-	.cfi_offset 16, 0
-	// Tell the unwinding where to get the stack pointer for
-	// our grandparent frame
-	.cfi_offset %rsp, -24
-
-	// Save the grandparent stack pointer for the unwinder
-	leaq 16(%rbp), %rax
-	pushq %rax
-
 	// FIXME: libgcc also saves rax. not sure if we need to
 
 	// Save argument registers