-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=78241 Minor refactor to BytecodeGenerator. Patch by Andy Wingo <wingo@igalia.com> on 2012-02-09 Reviewed by Gavin Barraclough. * bytecompiler/BytecodeGenerator.h: * bytecompiler/BytecodeGenerator.cpp: (JSC::BytecodeGenerator::isLocal): (JSC::BytecodeGenerator::isLocalConstant): Remove now-unused methods. * bytecompiler/NodesCodegen.cpp: (JSC::ResolveNode::isPure): Use the ResolveResult mechanism instead of isLocal. This will recognize more resolve nodes as being pure. (JSC::PrefixResolveNode::emitBytecode): Use isReadOnly on the location instead of isLocalConstant. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@107345 268f45cc-cd09-0410-ab3c-d52691b4dbfc
83e9d72d