Make DFG update topCallFrame
Created attachment 123861 [details] Patch
Created attachment 123862 [details] Patch
Comment on attachment 123862 [details] Patch r=me.
Committed r105905: <http://trac.webkit.org/changeset/105905>
Comment on attachment 123862 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=123862&action=review Can you post performance results? > Source/JavaScriptCore/interpreter/Interpreter.h:91 > + class NativeCallFrameTracer { > + public: > + ALWAYS_INLINE NativeCallFrameTracer(JSGlobalData* global, CallFrame* callFrame) > + { > + ASSERT(global); > + ASSERT(callFrame); > + global->topCallFrame = callFrame; > + } > + }; Is it OK that we don't reset topCallFrame on destruction? When do we need to reset it, and when can we skip that step? I don't think the words "native" and "tracer" are clear enough to distinguish NativeCallFrameTracer from TopCallFrameSetter. Answers to the above questions can provide us with a better name.