gawk-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gawk-diffs] [SCM] gawk branch, gawk-4.1-stable, updated. gawk-4.1.0-829


From: Arnold Robbins
Subject: [gawk-diffs] [SCM] gawk branch, gawk-4.1-stable, updated. gawk-4.1.0-829-g99c88b9
Date: Wed, 02 Mar 2016 19:59:55 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gawk".

The branch, gawk-4.1-stable has been updated
       via  99c88b96ee4fd5ae854c485e208737be8cca8301 (commit)
      from  21b584ce481970c9022c08148a6adbc0e489c432 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.sv.gnu.org/cgit/gawk.git/commit/?id=99c88b96ee4fd5ae854c485e208737be8cca8301

commit 99c88b96ee4fd5ae854c485e208737be8cca8301
Author: Arnold D. Robbins <address@hidden>
Date:   Wed Mar 2 20:54:11 2016 +0200

    Improvements in debug.c for if and else.

diff --git a/ChangeLog b/ChangeLog
index 67d81cf..1b421f4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2016-03-02         Arnold D. Robbins     <address@hidden>
+
+       * debug.c (print_instruction): Improvements in instruction dump
+       for if and else.
+
 2016-02-29         Arnold D. Robbins     <address@hidden>
 
        * profile.c (pp_list): Handle the case of nargs equal to zero.
diff --git a/debug.c b/debug.c
index 7699924..a32b015 100644
--- a/debug.c
+++ b/debug.c
@@ -3788,6 +3788,15 @@ print_instruction(INSTRUCTION *pc, Func_print 
print_func, FILE *fp, int in_dump)
 
                        
        switch (pc->opcode) {
+       case Op_K_if:
+               print_func(fp, "[branch_if = %p] [branch_else = %p] 
[branch_else->lasti = %p]\n",
+                               pc->branch_if, pc->branch_else, 
pc->branch_else->lasti);
+               break;
+
+       case Op_K_else:
+               print_func(fp, "[branch_end = %p]\n", pc->branch_end);
+               break;
+
        case Op_var_update:
                print_func(fp, "[update_%s()]\n", 
get_spec_varname(pc->update_var));
                break;

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog |    5 +++++
 debug.c   |    9 +++++++++
 2 files changed, 14 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
gawk



reply via email to

[Prev in Thread] Current Thread [Next in Thread]