Bug 117861 - fourthTier: It should be possible to emit binary switches and this should be easy to do
Summary: fourthTier: It should be possible to emit binary switches and this should be ...
Status: RESOLVED DUPLICATE of bug 117967
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Filip Pizlo
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-20 20:49 PDT by Filip Pizlo
Modified: 2013-06-24 18:17 PDT (History)
7 users (show)

See Also:


Attachments
work in progress (11.16 KB, patch)
2013-06-20 20:51 PDT, Filip Pizlo
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Filip Pizlo 2013-06-20 20:49:07 PDT
Patch forthcoming.
Comment 1 Filip Pizlo 2013-06-20 20:51:10 PDT
Created attachment 205144 [details]
work in progress

Just wrote the reusable BinarySwitch generator class.

We'll want to use this for:

- Switching on characters for string switches
- Integer switches that are too big for jump tables
- Character switches that are too big for jump tables
Comment 2 Filip Pizlo 2013-06-24 18:17:52 PDT

*** This bug has been marked as a duplicate of bug 117967 ***