Reviewed by NOBODY (Build fix).
authoroliver@apple.com <oliver@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 9 Sep 2009 05:55:54 +0000 (05:55 +0000)
committeroliver@apple.com <oliver@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 9 Sep 2009 05:55:54 +0000 (05:55 +0000)
Remove a few incorrect changes I left in.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48201 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/ChangeLog
WebCore/bindings/scripts/CodeGeneratorJS.pm

index 487965d..f20d033 100644 (file)
@@ -1,5 +1,13 @@
 2009-09-08  Oliver Hunt  <oliver@apple.com>
 
+        Reviewed by NOBODY (Build fix).
+
+        Remove a few incorrect changes I left in.
+
+        * bindings/scripts/CodeGeneratorJS.pm:
+
+2009-09-08  Oliver Hunt  <oliver@apple.com>
+
         Reviewed by Sam Weinig.
 
         Support numeric index getters in bindings
index 95e0ac8..43aaa28 100644 (file)
@@ -287,7 +287,7 @@ sub GenerateGetOwnPropertySlotBody
 
     my $manualLookupGetterGeneration = sub {
         my $requiresManualLookup = $dataNode->extendedAttributes->{"HasIndexGetter"} || $dataNode->extendedAttributes->{"HasNameGetter"};
-        if ($requiresManualLookup and $numAttributes > 0) {
+        if ($requiresManualLookup) {
             push(@getOwnPropertySlotImpl, "    const ${namespaceMaybe}HashEntry* entry = ${className}Table.entry(exec, propertyName);\n");
             push(@getOwnPropertySlotImpl, "    if (entry) {\n");
             push(@getOwnPropertySlotImpl, "        slot.setCustom(this, entry->propertyGetter());\n");
@@ -364,7 +364,7 @@ sub GenerateGetOwnPropertyDescriptorBody
     
     my $manualLookupGetterGeneration = sub {
         my $requiresManualLookup = $dataNode->extendedAttributes->{"HasIndexGetter"} || $dataNode->extendedAttributes->{"HasNameGetter"};
-        if ($requiresManualLookup and $numAttributes > 0) {
+        if ($requiresManualLookup) {
             push(@getOwnPropertyDescriptorImpl, "    const ${namespaceMaybe}HashEntry* entry = ${className}Table.entry(exec, propertyName);\n");
             push(@getOwnPropertyDescriptorImpl, "    if (entry) {\n");
             push(@getOwnPropertyDescriptorImpl, "        PropertySlot slot;\n");