Jacek Caban : jscript: Get rid of instr_off from expression_t.
Module: wine Branch: master Commit: 9752df99afd44a2229c299062a151f50a1d088d3 URL: http://source.winehq.org/git/wine.git/?a=commit;h=9752df99afd44a2229c299062a... Author: Jacek Caban <jacek(a)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; }
participants (1)
-
Alexandre Julliard