about summary refs log tree commit diff
path: root/src/test/debug-info/method-on-tuple-struct.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-12-18 08:36:36 -0800
committerbors <bors@rust-lang.org>2013-12-18 08:36:36 -0800
commit5ece09277387acf8895f89d439a6cbce4bb55adf (patch)
tree0524903237225f4ec4a1c54ad7a17c2169777c3d /src/test/debug-info/method-on-tuple-struct.rs
parentc33573440b61acf154a1cee55413d02f9835c9aa (diff)
parent01fae5fb2a0425af2830b2525c49d27bfba68899 (diff)
downloadrust-5ece09277387acf8895f89d439a6cbce4bb55adf.tar.gz
rust-5ece09277387acf8895f89d439a6cbce4bb55adf.zip
auto merge of #11033 : michaelwoerister/rust/byvalself, r=pcwalton
As the title says. The trans changes will lead to an auxiliary alloca being created that allows debug info to track the `self` argument. This alloca is only created in debug builds however. Otherwise very little had to be done after I managed to navigate to some degree the jungle that is self-argument handling `:P` 

Closes #10549
Diffstat (limited to 'src/test/debug-info/method-on-tuple-struct.rs')
-rw-r--r--src/test/debug-info/method-on-tuple-struct.rs48
1 files changed, 24 insertions, 24 deletions
diff --git a/src/test/debug-info/method-on-tuple-struct.rs b/src/test/debug-info/method-on-tuple-struct.rs
index 46177664a11..98dbff988e7 100644
--- a/src/test/debug-info/method-on-tuple-struct.rs
+++ b/src/test/debug-info/method-on-tuple-struct.rs
@@ -26,72 +26,72 @@
 
 // STACK BY VAL
 // debugger:finish
-// d ebugger:print self -- ignored for now because of issue #8512
-// c heck:$X = {100, -100.5}
+// debugger:print self
+// check:$4 = {100, -100.5}
 // debugger:print arg1
-// check:$4 = -3
+// check:$5 = -3
 // debugger:print arg2
-// check:$5 = -4
+// check:$6 = -4
 // debugger:continue
 
 // OWNED BY REF
 // debugger:finish
 // debugger:print *self
-// check:$6 = {200, -200.5}
+// check:$7 = {200, -200.5}
 // debugger:print arg1
-// check:$7 = -5
+// check:$8 = -5
 // debugger:print arg2
-// check:$8 = -6
+// check:$9 = -6
 // debugger:continue
 
 // OWNED BY VAL
 // debugger:finish
-// d ebugger:print self -- ignored for now because of issue #8512
-// c heck:$X = {200, -200.5}
+// debugger:print self
+// check:$10 = {200, -200.5}
 // debugger:print arg1
-// check:$9 = -7
+// check:$11 = -7
 // debugger:print arg2
-// check:$10 = -8
+// check:$12 = -8
 // debugger:continue
 
 // OWNED MOVED
 // debugger:finish
 // debugger:print *self
-// check:$11 = {200, -200.5}
+// check:$13 = {200, -200.5}
 // debugger:print arg1
-// check:$12 = -9
+// check:$14 = -9
 // debugger:print arg2
-// check:$13 = -10
+// check:$15 = -10
 // debugger:continue
 
 // MANAGED BY REF
 // debugger:finish
 // debugger:print *self
-// check:$14 = {300, -300.5}
+// check:$16 = {300, -300.5}
 // debugger:print arg1
-// check:$15 = -11
+// check:$17 = -11
 // debugger:print arg2
-// check:$16 = -12
+// check:$18 = -12
 // debugger:continue
 
 // MANAGED BY VAL
 // debugger:finish
-// d ebugger:print self -- ignored for now because of issue #8512
-// c heck:$X = {300, -300.5}
+// debugger:print self
+// check:$19 = {300, -300.5}
 // debugger:print arg1
-// check:$17 = -13
+// check:$20 = -13
 // debugger:print arg2
-// check:$18 = -14
+// check:$21 = -14
 // debugger:continue
 
 // MANAGED SELF
 // debugger:finish
 // debugger:print self->val
-// check:$19 = {300, -300.5}
+// check:$22 = {300, -300.5}
 // debugger:print arg1
-// check:$20 = -15
+// check:$23 = -15
 // debugger:print arg2
-// check:$21 = -16
+// check:$24 = -16
 // debugger:continue
 
 #[feature(managed_boxes)];