diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2008-12-23 10:59:22 +0100 |
---|---|---|
committer | Chris Li <chrisl@slimtower.chrisli.org> | 2008-12-24 02:34:41 -0800 |
commit | 2479d0f7819bdc4328f28c317248f1a6f78e3e9f (patch) | |
tree | 7ae003d227abc6db5215c9762e25a11fae6ecf9f /linearize.h | |
parent | Let void have sizeof 1 (diff) | |
download | sparse-2479d0f7819bdc4328f28c317248f1a6f78e3e9f.tar.gz sparse-2479d0f7819bdc4328f28c317248f1a6f78e3e9f.tar.bz2 sparse-2479d0f7819bdc4328f28c317248f1a6f78e3e9f.zip |
Revert the context tracking code
> Do you want to resend your change which revert the context changes?
> Make it base on Josh's git's tree and I will merge your changes in my
> branch.
Below. Or I can give it to you in git if you prefer. I still think we
should redo this in some form so that annotations with different
contexts can work properly, but I don't have time to take care of it
right now.
johannes
>From ca95b62edf1600a2b55ed9ca0515d049807a84fc Mon Sep 17 00:00:00 2001
From: Johannes Berg <johannes@sipsolutions.net>
Date: Tue, 23 Dec 2008 10:53:19 +0100
Subject: [PATCH] Revert context tracking code
Diffstat (limited to 'linearize.h')
-rw-r--r-- | linearize.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/linearize.h b/linearize.h index 0c5e4ef..2205082 100644 --- a/linearize.h +++ b/linearize.h @@ -117,7 +117,8 @@ struct instruction { struct pseudo_list *arguments; }; struct /* context */ { - int increment, required, inc_false; + int increment; + int check; struct expression *context_expr; }; struct /* asm */ { @@ -220,13 +221,11 @@ enum opcode { struct basic_block_list; struct instruction_list; -struct context_list_list; struct basic_block { struct position pos; unsigned long generation; - int context_check_recursion; - struct context_list_list *checked_contexts; + int context; struct entrypoint *ep; struct basic_block_list *parents; /* sources */ struct basic_block_list *children; /* destinations */ |