diff options
author | Lars Knoll <[email protected]> | 2013-11-15 14:22:35 +0100 |
---|---|---|
committer | The Qt Project <[email protected]> | 2013-12-04 09:45:30 +0100 |
commit | 608a9600142878574a509964941413bb15c91201 (patch) | |
tree | a7ba1dd6acf5bcacce9032988cc61f3748cfc083 /src/qml/jsruntime/qv4function_p.h | |
parent | 20178758ae6aebd155ed0545a03a8b402e805e66 (diff) |
Remove unused inline wrapper
The wrapper method for Function::code() was still there
from the times we used C++ exceptions. It's not needed
any more, so get rid of it.
Change-Id: I2ec25fbca71eeef9d7a94a38b5adfa42e4de3a84
Reviewed-by: Simon Hausmann <[email protected]>
Diffstat (limited to 'src/qml/jsruntime/qv4function_p.h')
-rw-r--r-- | src/qml/jsruntime/qv4function_p.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/qml/jsruntime/qv4function_p.h b/src/qml/jsruntime/qv4function_p.h index 5d284f1b2b..a7b569cf7e 100644 --- a/src/qml/jsruntime/qv4function_p.h +++ b/src/qml/jsruntime/qv4function_p.h @@ -85,11 +85,8 @@ struct Function { const CompiledData::Function *compiledFunction; CompiledData::CompilationUnit *compilationUnit; - inline ReturnedValue code(ExecutionContext *ctx, const uchar *data) { - return codePtr(ctx, data); - } - ReturnedValue (*codePtr)(ExecutionContext *, const uchar *); + ReturnedValue (*code)(ExecutionContext *, const uchar *); const uchar *codeData; quint32 codeSize; |