<https://webkit.org/b/124909>
Knock a null check outta the storage initialization loop.
Reviewed by Antti Koivisto.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@159813
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2013-11-27 Andreas Kling <akling@apple.com>
+
+ JSActivation constructor should use NotNull placement new.
+ <https://webkit.org/b/124909>
+
+ Knock a null check outta the storage initialization loop.
+
+ Reviewed by Antti Koivisto.
+
2013-11-26 Filip Pizlo <fpizlo@apple.com>
Restructure global variable constant inference so that it could work for any kind of symbol table variable
WriteBarrier<Unknown>* storage = this->storage();
size_t captureCount = symbolTable->captureCount();
for (size_t i = 0; i < captureCount; ++i)
- new(&storage[i]) WriteBarrier<Unknown>;
+ new (NotNull, &storage[i]) WriteBarrier<Unknown>;
}
JSActivation* asActivation(JSValue);