projects
/
platform
/
upstream
/
qtdeclarative.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b2b8c8
)
Fix inifite loop when running ecmascript tests
author
Simon Hausmann
<simon.hausmann@digia.com>
Tue, 18 Jun 2013 10:59:51 +0000
(12:59 +0200)
committer
Erik Verbruggen
<erik.verbruggen@digia.com>
Tue, 18 Jun 2013 11:00:00 +0000
(13:00 +0200)
Revert the initialization part of
42825af048ab2724e0d434178dcef1b23b4850ff
in
the IR, apparently it is needed.
Change-Id: Ia415133ee2fb6cd060fa5a0e5da7b711ac98ddd1
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
src/qml/qml/v4/qv4codegen.cpp
patch
|
blob
|
history
diff --git
a/src/qml/qml/v4/qv4codegen.cpp
b/src/qml/qml/v4/qv4codegen.cpp
index
ccd1ef1
..
310272c
100644
(file)
--- a/
src/qml/qml/v4/qv4codegen.cpp
+++ b/
src/qml/qml/v4/qv4codegen.cpp
@@
-1844,6
+1844,7
@@
V4IR::Function *Codegen::defineFunction(const QString &name, AST::Node *ast,
function->LOCAL(local);
unsigned t = entryBlock->newTemp();
(*it).index = t;
+ entryBlock->MOVE(entryBlock->TEMP(t), entryBlock->CONST(V4IR::UndefinedType, 0));
}
} else {
if (!_env->isStrict) {