-
Notifications
You must be signed in to change notification settings - Fork 623
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: Our current `StackRuntime` setup lives at the API level, in `hermes.cpp`, and involves an additional derived class also called `StackRuntime` that lives in `Runtime.cpp` in order to work properly. We can instead consolidate all the logic in `Runtime.cpp` and hide the allocation location of the `Runtime` behind `Runtime::create`. This will also make it more straightforward to implement a heap allocated runtime. Reviewed By: kodafb Differential Revision: D32347126 fbshipit-source-id: 8b3b9505b0fe8cac44389e4eee2bf34ded6f803d
- Loading branch information
1 parent
4b8de5c
commit 2c66a23
Showing
3 changed files
with
61 additions
and
120 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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