Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[fastcall] Introduce a builder pattern for specifying type modifiers
- Add a CFunctionBuilder interface to allow adding modifier flags to argument types. This will be used to support IDL attributes like [EnforceRange], [Clamp], and [AllowShared]. This CL adds only the interface, but the actual modifier flags do not exist yet as they would not be implemented. - Remove the internals of the old CFunction type inference and implement it on top of CFunctionBuilder. Bug: chromium:1052746 Change-Id: I09a7cba07105097517a8426a8eeb891393883ac6 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2686686 Reviewed-by: Toon Verwaest <[email protected]> Reviewed-by: Maya Lekova <[email protected]> Commit-Queue: Austin Eng <[email protected]> Cr-Commit-Position: refs/heads/master@{#73024}
- Loading branch information