diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-04-14 05:34:04 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-04-14 05:34:04 +0000 |
commit | 8ae54c3948a23b3814de1f7771ceea919edf9886 (patch) | |
tree | 5d7c6070f6d6abb28fb8d21e9579cdf6dcfbd229 /vm_core.h | |
parent | 38deb17a19a015b5b3b4d5a74762391ba3b6f256 (diff) | |
download | ruby-8ae54c3948a23b3814de1f7771ceea919edf9886.tar.gz ruby-8ae54c3948a23b3814de1f7771ceea919edf9886.tar.xz ruby-8ae54c3948a23b3814de1f7771ceea919edf9886.zip |
* compile.c, compile.h (compile_debug): made runtime option.
* debug.c (ruby_debug_print_indent): returns if debug_level exceeds
the threashold.
* debug.c (ruby_debug_printf): printf to stderr.
* iseq.c (make_compile_option, make_compile_option_value): added
debug_level option.
* vm_core.h (rb_compile_option_t): added debug_level.
* vm_core.h (struct iseq_compile_data): added node_level.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16003 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_core.h')
-rw-r--r-- | vm_core.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -139,6 +139,7 @@ typedef struct rb_compile_option_struct { int instructions_unification; int stack_caching; int trace_instruction; + int debug_level; } rb_compile_option_t; struct iseq_compile_data { @@ -161,6 +162,7 @@ struct iseq_compile_data { struct iseq_compile_data_storage *storage_current; int last_line; int flip_cnt; + int node_level; const rb_compile_option_t *option; }; |