Conversation
PiperOrigin-RevId: 605141415
Since we only care about execution order for the purposes of seeing whether we have truly seen all of a match block, check for that specifically rather than trying to come up with some more general heuristics for detecting any out-of-order opcodes. PiperOrigin-RevId: 605197589
PiperOrigin-RevId: 605387768
PiperOrigin-RevId: 605392927
* Adds basic function call support. The current frame creates a new frame, sets the new frame's 'f_back' attribute to itself, and runs the new frame. * Copies over globals when creating a new frame, and merges any changed globals back into f_back when a frame finishes running. * Adds a bit more structure to analyze.py and vm.py to lay the groundwork for analyzing functions and classes once the module-level code has run. * Moves the data stack to its own module. * Renames globals to initial_globals to reflect that it isn't updated as a frame modifies globals. * Adds a with_name() convenience method to Variable. PiperOrigin-RevId: 605407504
PiperOrigin-RevId: 605682622
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.