⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 249187 in webkit


Ignore:
Timestamp:
Aug 27, 2019, 6:22:37 PM (7 years ago)
Author:
Said Abou-Hallawa
Message:

Unreviewed. Build fix after r249175.

Fix the condition which generates the declaration of vm in
GenerateGetOwnPropertySlotByIndex.

  • bindings/scripts/CodeGeneratorJS.pm:

(GenerateGetOwnPropertySlotByIndex):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r249183 r249187  
     12019-08-27  Said Abou-Hallawa  <sabouhallawa@apple.com>
     2
     3        Unreviewed. Build fix after r249175.
     4
     5        Fix the condition which generates the declaration of vm in
     6        GenerateGetOwnPropertySlotByIndex.
     7
     8        * bindings/scripts/CodeGeneratorJS.pm:
     9        (GenerateGetOwnPropertySlotByIndex):
     10
    1112019-08-27  Justin Fan  <justin_fan@apple.com>
    212
  • trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm

    r249175 r249187  
    737737    push(@$outputArray, "bool ${className}::getOwnPropertySlotByIndex(JSObject* object, ExecState* state, unsigned index, PropertySlot& slot)\n");
    738738    push(@$outputArray, "{\n");
    739     if ($namedGetterOperation || $interface->extendedAttributes->{Plugin}) {
     739    if ($namedGetterOperation || $interface->extendedAttributes->{Plugin} || ($indexedGetterOperation && $indexedGetterOperation->extendedAttributes->{MayThrowException})) {
    740740        push(@$outputArray, "    VM& vm = state->vm();\n");
    741741    }
Note: See TracChangeset for help on using the changeset viewer.