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.
Treat Buffered and External StringPrimitives as variable
Summary: BufferedStringPrimitive inherits from VariableSizedRuntimeCell and its VTable should contain a size of 0. Similarly, we currently have special treatment for ExternStringPrimitive that lets us treat it like a fixed size cell in places even though it is variable sized. Remove that special case. Reviewed By: dulinriley Differential Revision: D24316034 fbshipit-source-id: c2035555fbf85426cca7cd0f3c419add8770b19f
- Loading branch information
1 parent
35420b2
commit c31ec1d
Showing
3 changed files
with
20 additions
and
13 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