Please sign in to comment.
Change how constants are stored
Use a similar strategy as the callframe storage, store each constant as either a uint64_t or a pointer to something larger. This gives integer & floating point constants value semantics and strings pointer semantics. This allows the c implementation to pass all tests using a single deref call instead of the double deref previously required for constants with value semantics.
- Loading branch information...
Showing with 14 additions and 6 deletions.