Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
0d5defaf
Commit
0d5defaf
authored
May 12, 2012
by
Jacek Caban
Committed by
Alexandre Julliard
May 14, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
jscipt: Make arg_cnt parameter of OP_new unsigned.
parent
efe744a8
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
compile.c
dlls/jscript/compile.c
+1
-1
engine.c
dlls/jscript/engine.c
+1
-1
engine.h
dlls/jscript/engine.h
+1
-1
No files found.
dlls/jscript/compile.c
View file @
0d5defaf
...
...
@@ -518,7 +518,7 @@ static HRESULT compile_new_expression(compiler_ctx_t *ctx, call_expression_t *ex
arg_cnt
++
;
}
return
push_instr_int
(
ctx
,
OP_new
,
arg_cnt
);
return
push_instr_
u
int
(
ctx
,
OP_new
,
arg_cnt
);
}
static
HRESULT
compile_call_expression
(
compiler_ctx_t
*
ctx
,
call_expression_t
*
expr
,
BOOL
*
no_ret
)
...
...
dlls/jscript/engine.c
View file @
0d5defaf
...
...
@@ -987,7 +987,7 @@ static void jsstack_to_dp(exec_ctx_t *ctx, unsigned arg_cnt, DISPPARAMS *dp)
/* ECMA-262 3rd Edition 11.2.2 */
static
HRESULT
interp_new
(
exec_ctx_t
*
ctx
)
{
const
LONG
arg
=
get_op_
int
(
ctx
,
0
);
const
unsigned
arg
=
get_op_u
int
(
ctx
,
0
);
VARIANT
*
constr
,
v
;
DISPPARAMS
dp
;
HRESULT
hres
;
...
...
dlls/jscript/engine.h
View file @
0d5defaf
...
...
@@ -78,7 +78,7 @@ typedef struct {
X(neg, 1, 0,0) \
X(neq, 1, 0,0) \
X(neq2, 1, 0,0) \
X(new, 1, ARG_
INT,
0) \
X(new, 1, ARG_
UINT,
0) \
X(new_obj, 1, 0,0) \
X(null, 1, 0,0) \
X(obj_prop, 1, ARG_BSTR, 0) \
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment