Interpreter:: throwException is one of the few remaining places where we require access to the bytecode Instruction buffer from JIT code. In order to purge the buffer after native code generation, we need to fix this. In order to accomplish this, we can probably store the required data in the CodeBlock when we recompile with profiling hooks.
Related to <rdar://problem/6428342>
Created attachment 26086 [details] patch
Comment on attachment 26086 [details] patch +#if ENABLE(JIT) The #if is backwards. Next person who copies binary chop code instead of reusing gets a smack.
Fixed in r39354.
(In reply to comment #3) > Next person who copies binary chop code instead of reusing gets a smack. We could possibly even use std::binary_search from <algorithm> rather than writing our own.