Ignore:
Timestamp:
Apr 11, 2014, 11:39:22 AM (11 years ago)
Author:
[email protected]
Message:

Add BuiltinLog function to make debugging builtins easier
https://bugs.webkit.org/show_bug.cgi?id=131550

Reviewed by Andreas Kling.

Add a logging function that builtins can use for debugging.

  • runtime/CommonIdentifiers.h:
  • runtime/JSGlobalObject.cpp:

(JSC::JSGlobalObject::reset):

  • runtime/JSGlobalObjectFunctions.cpp:

(JSC::globalFuncBuiltinLog):

  • runtime/JSGlobalObjectFunctions.h:
File:
1 edited

Legend:

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

    r167020 r167137  
    5353EncodedJSValue JSC_HOST_CALL globalFuncProtoSetter(ExecState*);
    5454EncodedJSValue JSC_HOST_CALL globalFuncSetTypeErrorAccessor(ExecState*);
     55EncodedJSValue JSC_HOST_CALL globalFuncBuiltinLog(ExecState*);
    5556   
    5657static const double mantissaOverflowLowerBound = 9007199254740992.0;
Note: See TracChangeset for help on using the changeset viewer.