-
ggaren@apple.com authored
Reviewed by Darin Adler. Fixed <rdar://problem/5960859> After an eval of a non-string or a syntax error, all profile stack frames are incorrect SunSpider reports a .3% speedup, possibly because eval of a string is a little more efficient now. * VM/Machine.cpp: (KJS::callEval): Make sure to call didExecute when returning early. I simplified this function to remove one early return, making the job of adding special code to early returns easier. (KJS::Machine::execute): Use the new function ExecState when notifying the profiler. (This doesn't change behavior now, but it might lead to subtle errors in the future.) git-svn-id: http://svn.webkit.org/repository/webkit/trunk@34135 268f45cc-cd09-0410-ab3c-d52691b4dbfc
d0e5f774