Last active
June 21, 2016 09:19
-
-
Save jaheba/3473246d73ee153b426e40245536b427 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fn dec(tape: &mut Tape) { | |
tape.tape[tape.position] -= 1; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LoadFunc(DefId { krate: 0, | |
node: DefIndex(17) => dec }), | |
Call, | |
StackFrame(6), | |
LoadLocal(0), | |
Use, | |
StoreLocal(1), | |
LoadLocal(1), | |
DEREF, | |
TUPLE_GET(1), | |
Use, | |
StoreLocal(2), | |
LoadLocal(1), | |
DEREF, | |
TUPLE_GET(0), | |
Len, | |
StoreLocal(3), | |
LoadLocal(2), | |
LoadLocal(3), | |
BINOP(Lt), | |
StoreLocal(4), | |
LoadLocal(4), | |
Guard(Guard(true)), | |
LoadLocal(2), | |
LoadLocal(1), | |
DEREF, | |
TUPLE_GET(0), | |
GetIndex, | |
Usize(1), | |
BINOP(Sub), | |
LoadLocal(2), | |
LoadLocal(1), | |
DEREF, | |
TUPLE_GET(0), | |
AssignIndex, | |
TUPLE(0), | |
RETURN_POINTER, | |
RETURN, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment