Ignore:
Timestamp:
Nov 3, 2007, 6:08:04 PM (18 years ago)
Author:
[email protected]
Message:

JavaScriptCore:

Reviewed by Oliver.

Remove dummy variable from ClassInfo reducing the size of the struct by 1 word.
The variable had been kept around for binary compatibility, but since nothing
else is there is no point in continuing to keep it around.

  • API/JSCallbackConstructor.cpp: (KJS::):
  • API/JSCallbackFunction.cpp: (KJS::):
  • API/JSCallbackObject.cpp: (KJS::):
  • bindings/objc/objc_runtime.mm:
  • bindings/runtime_array.cpp:
  • bindings/runtime_object.cpp:
  • kjs/array_instance.cpp: (KJS::):
  • kjs/array_object.cpp: (KJS::):
  • kjs/bool_object.cpp:
  • kjs/date_object.cpp: (KJS::):
  • kjs/error_object.cpp:
  • kjs/function.cpp: (KJS::):
  • kjs/internal.cpp: (KJS::):
  • kjs/lookup.h:
  • kjs/math_object.cpp:
  • kjs/number_object.cpp:
  • kjs/object.h:
  • kjs/regexp_object.cpp:
  • kjs/string_object.cpp: (KJS::):

WebCore:

Reviewed by Oliver.

Remove dummy variable from ClassInfo reducing the size of the struct by 1 word.
The variable had been kept around for binary compatibility, but since nothing
else is there is no point in continuing to keep it around.

  • bindings/js/JSDOMExceptionConstructor.cpp: (WebCore::):
  • bindings/js/JSHTMLInputElementBase.cpp: (WebCore::):
  • bindings/js/JSNamedNodesCollection.cpp: (WebCore::):
  • bindings/js/JSXMLHttpRequest.cpp: (KJS::):
  • bindings/js/JSXSLTProcessor.cpp: (KJS::):
  • bindings/js/kjs_css.cpp: (WebCore::):
  • bindings/js/kjs_events.cpp: (WebCore::):
  • bindings/js/kjs_navigator.cpp: (KJS::):
  • bindings/js/kjs_window.cpp: (KJS::):
  • bindings/scripts/CodeGeneratorJS.pm:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/kjs/function.cpp

    r27406 r27413  
    5252// ----------------------------- FunctionImp ----------------------------------
    5353
    54 const ClassInfo FunctionImp::info = { "Function", &InternalFunctionImp::info, 0, 0 };
     54const ClassInfo FunctionImp::info = { "Function", &InternalFunctionImp::info, 0 };
    5555
    5656FunctionImp::FunctionImp(ExecState* exec, const Identifier& name, FunctionBodyNode* b, const ScopeChain& sc)
     
    327327// ------------------------------ Arguments ---------------------------------
    328328
    329 const ClassInfo Arguments::info = {"Arguments", 0, 0, 0};
     329const ClassInfo Arguments::info = { "Arguments", 0, 0 };
    330330
    331331// ECMA 10.1.8
     
    391391// ------------------------------ ActivationImp --------------------------------
    392392
    393 const ClassInfo ActivationImp::info = {"Activation", 0, 0, 0};
     393const ClassInfo ActivationImp::info = { "Activation", 0, 0 };
    394394
    395395ActivationImp::ActivationImp(ExecState* exec)
Note: See TracChangeset for help on using the changeset viewer.