Changeset 5645 in webkit for trunk/JavaScriptCore/kjs/object.h


Ignore:
Timestamp:
Dec 2, 2003, 2:11:47 AM (22 years ago)
Author:
mjs
Message:

Merged patches from Harri Porten and David Faure to fix:

<rdar://problem/3497643>: reproducible crash printing self-referential array

  • kjs/array_object.cpp: (ArrayProtoFuncImp::call): Break out of the loop if an exception was thrown.
  • kjs/nodes.cpp: (FunctionCallNode::evaluate): Move function call depth check from here...
  • kjs/object.cpp: (KJS::Object::call): ...to here.
  • kjs/object.h: Un-inline Object::call now that it does more.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/kjs/object.h

    r3373 r5645  
    699699    { return imp()->implementsCall(); }
    700700
    701   inline Value Object::call(ExecState *exec, Object &thisObj, const List &args)
    702     { return imp()->call(exec,thisObj,args); }
    703 
    704701  inline bool Object::implementsHasInstance() const
    705702    { return imp()->implementsHasInstance(); }
Note: See TracChangeset for help on using the changeset viewer.