Ignore:
Timestamp:
Sep 17, 2013, 3:32:31 PM (12 years ago)
Author:
[email protected]
Message:

Pack create_hash_table tables better.
<https://webkit.org/b/121517>

Reviewed by Sam Weinig.

Source/JavaScriptCore:

Reduces JavaScriptCore binary size by 4648 bytes.

  • create_hash_table:
  • runtime/Lookup.h:

Reorder HashTableValue members to avoid unnecessary padding.

Source/WebCore:

Reduces WebCore binary size by 72744 bytes.

  • bindings/scripts/CodeGeneratorJS.pm:

(GenerateHashTable):

Updated for new HashTableValue member order.

  • bindings/scripts/test/JS/*:

Rebaselined bindings tests.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/runtime/Lookup.h

    r155219 r156009  
    3535        const char* key; // property name
    3636        unsigned char attributes; // JSObject attributes
     37        Intrinsic intrinsic;
    3738        intptr_t value1;
    3839        intptr_t value2;
    39         Intrinsic intrinsic;
    4040    };
    4141
Note: See TracChangeset for help on using the changeset viewer.