[前][次][番号順一覧][スレッド一覧]

ruby-changes:26717

From: ko1 <ko1@a...>
Date: Thu, 10 Jan 2013 22:03:59 +0900 (JST)
Subject: [ruby-changes:26717] ko1:r38768 (trunk): * vm_core.h (VM_DEBUG_BP_CHECK): set 0 as default.

ko1	2013-01-10 22:03:39 +0900 (Thu, 10 Jan 2013)

  New Revision: 38768

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=38768

  Log:
    * vm_core.h (VM_DEBUG_BP_CHECK): set 0 as default.
      This flag specifies checking BP consistency on each frame popping.
      Now, we don't have any trouble on it, so I remove it.
      If you feel any bugs about VM execution, then set it to 1.

  Modified files:
    trunk/ChangeLog
    trunk/vm_core.h

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 38767)
+++ ChangeLog	(revision 38768)
@@ -1,3 +1,10 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Thu Jan 10 22:00:58 2013  Koichi Sasada  <ko1@a...>
+
+	* vm_core.h (VM_DEBUG_BP_CHECK): set 0 as default.
+	  This flag specifies checking BP consistency on each frame popping.
+	  Now, we don't have any trouble on it, so I remove it.
+	  If you feel any bugs about VM execution, then set it to 1.
+
 Thu Jan 10 21:03:05 2013 TAKANO `takano32' Mitsuhiro <tak@n...>
 
 	* cont.c: define FIBER_USE_NATIVE as 0 in ia64.
Index: vm_core.h
===================================================================
--- vm_core.h	(revision 38767)
+++ vm_core.h	(revision 38768)
@@ -419,7 +419,7 @@ typedef struct rb_vm_struct { https://github.com/ruby/ruby/blob/trunk/vm_core.h#L419
 #define RUBY_VM_FIBER_MACHINE_STACK_SIZE_MIN  (  16 * 1024 * sizeof(VALUE)) /*   64 KB or  128 KB */
 
 #ifndef VM_DEBUG_BP_CHECK
-#define VM_DEBUG_BP_CHECK 1
+#define VM_DEBUG_BP_CHECK 0
 #endif
 
 typedef struct rb_control_frame_struct {

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]