From 75d28f887089c8582b63a64cf5df1d0270f15cc1 Mon Sep 17 00:00:00 2001
From: ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>
Date: Tue, 1 May 2007 04:35:58 +0000
Subject: * yarvcore.h, compile.c (set_arguments): support post arguments. *
 test/ruby/test_method.rb: add tests for above. * test/ruby/test_proc.rb:
 ditto. * proc.c: fix an arity bug ([ruby-core:11029]). * vm.c, vm.h,
 insns.def, vm_dump.h: fix bmethod process. * vm.c: support block argument on
 block parameter.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
---
 vm_macro.def | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

(limited to 'vm_macro.def')

diff --git a/vm_macro.def b/vm_macro.def
index 7d95b13ba7..dff6b98c9c 100644
--- a/vm_macro.def
+++ b/vm_macro.def
@@ -61,6 +61,7 @@ MACRO macro_eval_invoke_cfunc(num, id, recv, klass, mn, blockptr)
 	rb_control_frame_t *cfp =
 	  push_frame(th, 0, FRAME_MAGIC_CFUNC,
 		     recv, (VALUE) blockptr, 0, GET_SP(), 0, 1);
+
 	cfp->method_id = id;
 	cfp->method_klass = klass;
 
@@ -312,13 +313,6 @@ MACRO macro_eval_invoke_method(recv, klass, id, num, mn, blockptr)
 		  goto LABEL_IS_SC(start_method_dispatch);
 	      }
 	  }
-	  case NODE_SCOPE:{
-	      dpi(id);
-	      SDR();
-	      rb_bug("eval_invoke_method: NODE_SCOPE should not be appear");
-	      /* unreachable */
-	      break;
-	  }
 	  default:{
 	      printf("node: %s\n", ruby_node_name(nd_type(node)));
 	      rb_bug("eval_invoke_method: unreachable");
-- 
cgit v1.2.3

