-
oliver@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=32098 Reviewed by Sam Weinig. Fix is simply to make the ScriptFunctionCall stack allocated as nature intended Doing this required adding an appendArgument(char*) to ScriptFunctionCall so that an explicit String cast would not be necessary. To prevent something like this happening again in future i've added private operator new implementations to ScriptFunctionCall making this type of mistake produce errors when compiling. Test case: Inspector tests now pass with GC on every alloc enabled. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51621 268f45cc-cd09-0410-ab3c-d52691b4dbfc
3ac3ec8d