Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
061592a2
Commit
061592a2
authored
Mar 24, 2016
by
Jacek Caban
Committed by
Alexandre Julliard
Mar 24, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
jscript: Removed no longer used argument from exec_source.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
1d94ec85
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
6 deletions
+6
-6
engine.c
dlls/jscript/engine.c
+1
-1
engine.h
dlls/jscript/engine.h
+1
-1
function.c
dlls/jscript/function.c
+1
-1
global.c
dlls/jscript/global.c
+1
-1
jscript.c
dlls/jscript/jscript.c
+2
-2
No files found.
dlls/jscript/engine.c
View file @
061592a2
...
...
@@ -2543,7 +2543,7 @@ static HRESULT bind_event_target(script_ctx_t *ctx, function_code_t *func, jsdis
return
hres
;
}
HRESULT
exec_source
(
exec_ctx_t
*
ctx
,
bytecode_t
*
code
,
function_code_t
*
func
,
BOOL
from_eval
,
jsval_t
*
ret
)
HRESULT
exec_source
(
exec_ctx_t
*
ctx
,
bytecode_t
*
code
,
function_code_t
*
func
,
jsval_t
*
ret
)
{
exec_ctx_t
*
prev_ctx
;
jsval_t
val
;
...
...
dlls/jscript/engine.h
View file @
061592a2
...
...
@@ -218,5 +218,5 @@ static inline void exec_addref(exec_ctx_t *ctx)
void
exec_release
(
exec_ctx_t
*
)
DECLSPEC_HIDDEN
;
HRESULT
create_exec_ctx
(
script_ctx_t
*
,
IDispatch
*
,
jsdisp_t
*
,
scope_chain_t
*
,
BOOL
,
exec_ctx_t
**
)
DECLSPEC_HIDDEN
;
HRESULT
exec_source
(
exec_ctx_t
*
,
bytecode_t
*
,
function_code_t
*
,
BOOL
,
jsval_t
*
)
DECLSPEC_HIDDEN
;
HRESULT
exec_source
(
exec_ctx_t
*
,
bytecode_t
*
,
function_code_t
*
,
jsval_t
*
)
DECLSPEC_HIDDEN
;
HRESULT
create_source_function
(
script_ctx_t
*
,
bytecode_t
*
,
function_code_t
*
,
scope_chain_t
*
,
jsdisp_t
**
)
DECLSPEC_HIDDEN
;
dlls/jscript/function.c
View file @
061592a2
...
...
@@ -247,7 +247,7 @@ static HRESULT invoke_source(script_ctx_t *ctx, FunctionInstance *function, IDis
prev_args
=
function
->
arguments
;
function
->
arguments
=
arg_disp
;
hres
=
exec_source
(
exec_ctx
,
function
->
code
,
function
->
func_code
,
FALSE
,
r
);
hres
=
exec_source
(
exec_ctx
,
function
->
code
,
function
->
func_code
,
r
);
function
->
arguments
=
prev_args
;
exec_release
(
exec_ctx
);
...
...
dlls/jscript/global.c
View file @
061592a2
...
...
@@ -222,7 +222,7 @@ static HRESULT JSGlobal_eval(script_ctx_t *ctx, vdisp_t *jsthis, WORD flags, uns
return
throw_syntax_error
(
ctx
,
hres
,
NULL
);
}
hres
=
exec_source
(
ctx
->
exec_ctx
,
code
,
&
code
->
global_code
,
TRUE
,
r
);
hres
=
exec_source
(
ctx
->
exec_ctx
,
code
,
&
code
->
global_code
,
r
);
release_bytecode
(
code
);
return
hres
;
}
...
...
dlls/jscript/jscript.c
View file @
061592a2
...
...
@@ -110,7 +110,7 @@ static HRESULT exec_global_code(JScript *This, bytecode_t *code)
IActiveScriptSite_OnEnterScript
(
This
->
site
);
clear_ei
(
This
->
ctx
);
hres
=
exec_source
(
exec_ctx
,
code
,
&
code
->
global_code
,
FALSE
,
NULL
);
hres
=
exec_source
(
exec_ctx
,
code
,
&
code
->
global_code
,
NULL
);
exec_release
(
exec_ctx
);
IActiveScriptSite_OnLeaveScript
(
This
->
site
);
...
...
@@ -781,7 +781,7 @@ static HRESULT WINAPI JScriptParse_ParseScriptText(IActiveScriptParse *iface,
IActiveScriptSite_OnEnterScript
(
This
->
site
);
clear_ei
(
This
->
ctx
);
hres
=
exec_source
(
exec_ctx
,
code
,
&
code
->
global_code
,
TRUE
,
&
r
);
hres
=
exec_source
(
exec_ctx
,
code
,
&
code
->
global_code
,
&
r
);
if
(
SUCCEEDED
(
hres
))
{
if
(
pvarResult
)
hres
=
jsval_to_variant
(
r
,
pvarResult
);
...
...
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