Jacek Caban : jscript: Get rid of instr_off from expression_t.

Alexandre Julliard julliard at winehq.org
Tue Jan 3 12:52:52 CST 2012


Module: wine
Branch: master
Commit: 9752df99afd44a2229c299062a151f50a1d088d3
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=9752df99afd44a2229c299062a151f50a1d088d3

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Mon Jan  2 11:46:21 2012 +0100

jscript: Get rid of instr_off from expression_t.

---

 dlls/jscript/engine.h |    1 -
 dlls/jscript/parser.y |    1 -
 2 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/dlls/jscript/engine.h b/dlls/jscript/engine.h
index 386f448..4afec15 100644
--- a/dlls/jscript/engine.h
+++ b/dlls/jscript/engine.h
@@ -481,7 +481,6 @@ typedef enum {
 
 struct _expression_t {
     expression_type_t type;
-    unsigned instr_off;
 };
 
 struct _parameter_t {
diff --git a/dlls/jscript/parser.y b/dlls/jscript/parser.y
index 6311e65..7938968 100644
--- a/dlls/jscript/parser.y
+++ b/dlls/jscript/parser.y
@@ -1342,7 +1342,6 @@ static void *new_expression(parser_ctx_t *ctx, expression_type_t type, size_t si
     expression_t *ret = parser_alloc(ctx, size ? size : sizeof(*ret));
 
     ret->type = type;
-    ret->instr_off = 0;
 
     return ret;
 }




More information about the wine-cvs mailing list