aboutsummaryrefslogtreecommitdiffstats
path: root/qv4codegen_p.h
diff options
context:
space:
mode:
authorErik Verbruggen <erik.verbruggen@digia.com>2012-11-15 16:31:03 +0100
committerLars Knoll <lars.knoll@digia.com>2012-11-15 22:06:20 +0100
commitcedaab81e3d38d6777f81d99b7cab2b607065d44 (patch)
tree7b2a283d073eafa2fa4caaad266a4f49b08f0646 /qv4codegen_p.h
parentef25fdacc89c0cbcba887bff44c4de2f848243ca (diff)
Fix possible null-pointer deref.
Change-Id: I8c4e2c34b2a3803d1346a1f716a0e40bde6bfdff Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'qv4codegen_p.h')
-rw-r--r--qv4codegen_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/qv4codegen_p.h b/qv4codegen_p.h
index fa84beabe4..c830345331 100644
--- a/qv4codegen_p.h
+++ b/qv4codegen_p.h
@@ -188,7 +188,7 @@ protected:
AST::SourceElements *body, Mode mode = FunctionCode);
int indexOfArgument(const QStringRef &string) const;
- void generateFinallyBlock(IR::BasicBlock *finallyBlock, bool exceptionNeedsSaving, AST::Block *ast, int hasException, IR::BasicBlock *after);
+ void generateFinallyBlock(IR::BasicBlock *finallyBlock, bool exceptionNeedsSaving, AST::Finally *ast, int hasException, IR::BasicBlock *after);
void statement(AST::Statement *ast);
void statement(AST::ExpressionNode *ast);