summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRichard Dale <richard.dale@codethink.co.uk>2013-07-04 09:56:42 +0100
committerRichard Dale <richard.dale@codethink.co.uk>2013-07-04 09:56:42 +0100
commitc6978bf56f599a3da8c03b1a7e58102aa84223e7 (patch)
tree400d769941e13d9814f58d79e9253e941e48ddd6 /src
parent704211043d373aba98aa0507bd58c32aed1857c5 (diff)
parentca1ac7634f00b845ded92b5fabfa0d1c53197b01 (diff)
downloadqtjsbackend-c6978bf56f599a3da8c03b1a7e58102aa84223e7.tar.gz
Merge v5.1.0 releasebaserock/morph
Diffstat (limited to 'src')
-rw-r--r--src/3rdparty/v8/src/ast.cc2
-rw-r--r--src/3rdparty/v8/src/platform-win32.cc7
2 files changed, 6 insertions, 3 deletions
diff --git a/src/3rdparty/v8/src/ast.cc b/src/3rdparty/v8/src/ast.cc
index 3015b1e..5d7baf2 100644
--- a/src/3rdparty/v8/src/ast.cc
+++ b/src/3rdparty/v8/src/ast.cc
@@ -566,7 +566,7 @@ void Call::RecordTypeFeedback(TypeFeedbackOracle* oracle,
Property* property = expression()->AsProperty();
if (property == NULL) {
if (VariableProxy *proxy = expression()->AsVariableProxy()) {
- if (proxy->var()->is_qml_global())
+ if (proxy->var()->IsUnallocated() && proxy->var()->is_qml_global())
return;
}
diff --git a/src/3rdparty/v8/src/platform-win32.cc b/src/3rdparty/v8/src/platform-win32.cc
index 76e35f5..ae9ab2a 100644
--- a/src/3rdparty/v8/src/platform-win32.cc
+++ b/src/3rdparty/v8/src/platform-win32.cc
@@ -1523,9 +1523,12 @@ double OS::nan_value() {
int OS::ActivationFrameAlignment() {
#ifdef _WIN64
return 16; // Windows 64-bit ABI requires the stack to be 16-byte aligned.
-#else
- return 8; // Floating-point math runs faster with 8-byte alignment.
+#elif defined(__MINGW32__)
+ // With gcc 4.4 the tree vectorization optimizer can generate code
+ // that requires 16 byte alignment such as movdqa on x86.
+ return 16;
#endif
+ return 8; // Floating-point math runs faster with 8-byte alignment.
}