Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Google sync #1580

Merged
merged 7 commits into from
Feb 9, 2024
Merged

Google sync #1580

merged 7 commits into from
Feb 9, 2024

Conversation

rchen152
Copy link
Contributor

@rchen152 rchen152 commented Feb 9, 2024

No description provided.

rchen152 and others added 7 commits February 9, 2024 11:18
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: 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
@rchen152 rchen152 merged commit 28a1f48 into main Feb 9, 2024
22 checks passed
@rchen152 rchen152 deleted the google_sync branch February 9, 2024 20:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants