-
-
Save kanatohodets/ca61c18cb8f2d8776f6e to your computer and use it in GitHub Desktop.
nqp-m repl attempt after patch
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
15:51:10 [~/prog/6perl/MoarVM] btyler$ gd | |
diff --git a/src/core/interp.c b/src/core/interp.c | |
index 5d8f0d5..951220f 100644 | |
--- a/src/core/interp.c | |
+++ b/src/core/interp.c | |
@@ -3316,7 +3316,7 @@ void MVM_interp_run(MVMThreadContext *tc, void (*initial_invoke)(MVMThreadContex | |
cur_op += 4; | |
goto NEXT; | |
OP(readlineint_fh): | |
- GET_REG(cur_op, 0).s = MVM_file_readline_interactive_fh(tc, GET_REG(cur_op, 2).o, GET_REG(cur_op, 4).s); | |
+ GET_REG(cur_op, 0).s = MVM_file_readline_fh(tc, GET_REG(cur_op, 2).o); | |
cur_op += 6; | |
goto NEXT; | |
OP(chdir): | |
15:51:10 [~/prog/6perl/MoarVM] btyler$ nqp-m | |
Failed to seek in filehandle: 9 | |
at gen/moar/stage2/NQPHLL.nqp:1019 (/Users/btyler/prog/6perl/MoarVM/install/languages/nqp/lib/NQPHLL.moarvm::29) | |
from gen/moar/stage2/NQPHLL.nqp:1015 (/Users/btyler/prog/6perl/MoarVM/install/languages/nqp/lib/NQPHLL.moarvm:interactive:79) | |
from gen/moar/stage2/NQPHLL.nqp:1212 (/Users/btyler/prog/6perl/MoarVM/install/languages/nqp/lib/NQPHLL.moarvm:command_eval:292) | |
from gen/moar/stage2/NQPHLL.nqp:1161 (/Users/btyler/prog/6perl/MoarVM/install/languages/nqp/lib/NQPHLL.moarvm:command_line:122) | |
from gen/moar/stage2/NQP.nqp:3697 (/Users/btyler/prog/6perl/MoarVM/install/languages/nqp/lib/nqp.moarvm:MAIN:17) | |
from gen/moar/stage2/NQP.nqp:3692 (/Users/btyler/prog/6perl/MoarVM/install/languages/nqp/lib/nqp.moarvm::334) | |
from <unknown>:1 (/Users/btyler/prog/6perl/MoarVM/install/languages/nqp/lib/nqp.moarvm::7) | |
from <unknown>:1 (/Users/btyler/prog/6perl/MoarVM/install/languages/nqp/lib/nqp.moarvm::8) | |
15:51:13 [~/prog/6perl/MoarVM] btyler$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment