forked from facebook/hermes
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve handling of member expressions
Summary: In LRef differentiate between "by literal" and "by value" and handle the latter more efficiently by simply remembering the property name. Change the object value from an object pointer to a regular FNValue. Use LRef in a couple of places instead of self.gen_prop(), which is now unneeded and removed. Add new object methods to FNObject: getByVal() and putByVal() taking std::string for now. Reviewed By: neildhar Differential Revision: D37232324 fbshipit-source-id: e84868b60a3d729b25523129c491bb360a77c8c0
- Loading branch information
1 parent
00f26e5
commit c972e5e
Showing
3 changed files
with
174 additions
and
98 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
Oops, something went wrong.