Changeset 243330 in webkit
- Timestamp:
- Mar 21, 2019, 2:36:26 PM (7 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
b3/B3Opcode.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r243323 r243330 1 2019-03-21 Robin Morisset <rmorisset@apple.com> 2 3 B3::Opcode can fit in a single byte, shrinking B3Value by 8 bytes 4 https://bugs.webkit.org/show_bug.cgi?id=196014 5 6 Reviewed by Keith Miller. 7 8 B3::Opcode has less than one hundred cases, so it can easily fit in one byte (from two currently) 9 This shrinks B3::Kind from 4 bytes to 2 (by removing the byte of padding at the end). 10 This in turns eliminate padding from B3::Value, shrinking it by 8 bytes (out of 80). 11 12 * b3/B3Opcode.h: 13 1 14 2019-03-21 Michael Catanzaro <mcatanzaro@igalia.com> 2 15 -
trunk/Source/JavaScriptCore/b3/B3Opcode.h
r239427 r243330 38 38 // would be used in simple IRs. See B3Kind.h. 39 39 40 enum Opcode : int16_t {40 enum Opcode : uint8_t { 41 41 // A no-op that returns Void, useful for when you want to remove a value. 42 42 Nop,
Note:
See TracChangeset
for help on using the changeset viewer.