Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
D-R-R
/
JSIL
Public
forked from
sq/JSIL
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Commits
Breadcrumbs
History for
JSIL
JSIL
Transforms
DeoptimizeSwitchStatements.cs
on
NoDynamic
User selector
All users
Datepicker
All time
Commit history
Commits on Feb 10, 2015
Disable all support for object/collection initializers
kg
committed
cd28dd0
View commit details
Copy full SHA for cd28dd0
View code at this point
Browse repository at this point
Commits on Sep 9, 2013
Revert "Change backing store for Boolean[] to be Uint8Array (issue #250)" due to severe performance issues in V8 (WTF :( )
Show description for 0c1d9df
kg
committed
0c1d9df
View commit details
Copy full SHA for 0c1d9df
View code at this point
Browse repository at this point
Commits on Sep 8, 2013
Change backing store for Boolean[] to be Uint8Array (issue #250)
kg
committed
52c5d9f
View commit details
Copy full SHA for 52c5d9f
View code at this point
Browse repository at this point
Commits on Jul 22, 2013
Update to a new rev of ILSpy that contains a fix for switch statement decompilation.
Show description for 23f9bdd
kg
committed
23f9bdd
View commit details
Copy full SHA for 23f9bdd
View code at this point
Browse repository at this point
Commits on Mar 6, 2013
Checkpoint:
Show description for 8f1a383
kg
committed
8f1a383
View commit details
Copy full SHA for 8f1a383
View code at this point
Browse repository at this point
Commits on Feb 24, 2013
Checkpoint: Fix DeoptimizeSwitchStatements breaking due to new reference expression types
kg
committed
b3e41f8
View commit details
Copy full SHA for b3e41f8
View code at this point
Browse repository at this point
Commits on Oct 17, 2012
If a switch case contains a label, hoist the body of the case outside the switch statement so that gotos can target it safely.
Show description for 5796744
kg
committed
5796744
View commit details
Copy full SHA for 5796744
View code at this point
Browse repository at this point
When translating an IL switch statement, wrap it in a block statement to enable some additional code generation changes
Show description for c96e97d
kg
committed
c96e97d
View commit details
Copy full SHA for c96e97d
View code at this point
Browse repository at this point
Commits on Mar 29, 2012
Fix handling of an alternate form of switch statements with lookup dictionaries, and add a test.
Show description for def09eb
kg
committed
def09eb
View commit details
Copy full SHA for def09eb
View code at this point
Browse repository at this point
Commits on Mar 25, 2012
When the inferred and expected types for an expression differ, insert an explicit cast expression. This fixes cases where, for example, an integer expression is directly assigned to an enumeration …
Show description for cd0a32b
kg
committed
cd0a32b
View commit details
Copy full SHA for cd0a32b
View code at this point
Browse repository at this point
Commits on Feb 19, 2012
Move recursive array initializer test since that bug was fixed in ILSpy.
Show description for e6300ae
kg
committed
e6300ae
View commit details
Copy full SHA for e6300ae
View code at this point
Browse repository at this point
Commits on Jan 28, 2012
Disable large portions of the switch statement deoptimizer so that it does not break uses of flow control within switch statements. It still successfully removes the lookup dictionary so that the o…
Show description for 062fea3
kg
committed
062fea3
View commit details
Copy full SHA for 062fea3
View code at this point
Browse repository at this point
Commits on Jan 4, 2012
Fix stray gotos being left behind after a switch statement is deoptimized.
Show description for a92e886
kg
committed
a92e886
View commit details
Copy full SHA for a92e886
View code at this point
Browse repository at this point
Fix label group builder hoisting label bodies out without leaving a goto to replace them, and add a test that detects it. Sadly, this can only be detected by analyzing output JavaScript - the IL th…
Show description for cd7e7d8
kg
committed
cd7e7d8
View commit details
Copy full SHA for cd7e7d8
View code at this point
Browse repository at this point
Instead of identifying loops for targeted break/continue with labels, use separate numeric indices
Show description for 94fe808
kg
committed
94fe808
View commit details
Copy full SHA for 94fe808
View code at this point
Browse repository at this point
Commits on Dec 12, 2011
If a switch statement has cases that don't do anything except jump directly to the default case, eliminate them and then clean up the stray gotos that were left behind. Fixes issue #47.
Show description for 09c3d0b
kg
committed
09c3d0b
View commit details
Copy full SHA for 09c3d0b
View code at this point
Browse repository at this point
Improvements to fix for issue #39:
Show description for c9b4325
kg
committed
c9b4325
View commit details
Copy full SHA for c9b4325
View code at this point
Browse repository at this point
Commits on Dec 5, 2011
Add a basic implementation of switch deoptimization as an AST transform.
Show description for 42a5265
kg
committed
42a5265
View commit details
Copy full SHA for 42a5265
View code at this point
Browse repository at this point
Loading
You can’t perform that action at this time.