diff options
author | Malcolm Beattie <mbeattie@sable.ox.ac.uk> | 1997-07-01 12:24:28 +0000 |
---|---|---|
committer | Malcolm Beattie <mbeattie@sable.ox.ac.uk> | 1997-07-01 12:24:28 +0000 |
commit | 462e5cf694f345fbf34a1f95e9a82957e59dcc2b (patch) | |
tree | ca9bf97cf7ce9e08168a2f31060050ca5073d42c /scope.c | |
parent | 3bc5dc61eb7997c904fe06e07f74e776f3ee17eb (diff) | |
download | perl-462e5cf694f345fbf34a1f95e9a82957e59dcc2b.tar.gz |
Support for op in global register (still buggy)
p4raw-id: //depot/perl@34
Diffstat (limited to 'scope.c')
-rw-r--r-- | scope.c | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -438,6 +438,15 @@ void* p; } void +save_op() +{ + dTHR; + SSCHECK(2); + SSPUSHPTR(op); + SSPUSHINT(SAVEt_OP); +} + +void leave_scope(base) I32 base; { @@ -636,6 +645,9 @@ I32 base; stack_sp = stack_base + delta; } break; + case SAVEt_OP: + op = (OP*)SSPOPPTR; + break; default: croak("panic: leave_scope inconsistency"); } |