https://bugs.webkit.org/show_bug.cgi?id=147307
* runtime/ObjectConstructor.cpp:
(JSC::ownPropertyKeys):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187409
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2015-07-26 Yusuke Suzuki <utatane.tea@gmail.com>
+
+ Unreviewed, fix the debug build due to touching the non-declared variable in ASSERT
+ https://bugs.webkit.org/show_bug.cgi?id=147307
+
+ * runtime/ObjectConstructor.cpp:
+ (JSC::ownPropertyKeys):
+
2015-07-25 Yusuke Suzuki <utatane.tea@gmail.com>
[ES6] Implement Reflect.ownKeys
case PropertyNameMode::Strings: {
size_t numProperties = properties.size();
for (size_t i = 0; i < numProperties; i++) {
+ const auto& identifier = properties[i];
ASSERT(!identifier.isSymbol());
- keys->push(exec, jsOwnedString(exec, properties[i].string()));
+ keys->push(exec, jsOwnedString(exec, identifier.string()));
}
break;
}