Summary: | Remove dependency on the bytecode Instruction buffer in Interpreter::throwException | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Sam Weinig <sam> | ||||
Component: | JavaScriptCore | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | zwarich | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Mac | ||||||
OS: | OS X 10.5 | ||||||
Attachments: |
|
Description
Sam Weinig
2008-12-12 19:12:52 PST
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.
(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. |