Author: leo
Date: Wed Feb 22 04:08:04 2006
New Revision: 11701
Modified:
trunk/src/ops/pic.ops
Log:
clear set_args in pic_get_params__ too
Modified: trunk/src/ops/pic.ops
==============================================================================
--- trunk/src/ops/pic.ops (original)
+++ trunk/src/ops/pic.ops Wed Feb 22 04:08:04 2006
@@ -148,6 +148,9 @@ inline op pic_get_params__(inconst PMC)
*/
ctx = CONTEXT(interpreter->ctx);
src_pc = interpreter->current_args;
+ /* the args and params are now 'used.' */
+ interpreter->current_args = NULL;
+ interpreter->current_params = NULL;
mic = (Parrot_MIC *) cur_opcode[1];
caller_ctx = ctx->caller_ctx;
if (src_pc) {