Renamed DumpRegisterFunctor to DumpReturnVirtualPCFunctor.
authormark.lam@apple.com <mark.lam@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 26 Jun 2017 20:17:50 +0000 (20:17 +0000)
committermark.lam@apple.com <mark.lam@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 26 Jun 2017 20:17:50 +0000 (20:17 +0000)
https://bugs.webkit.org/show_bug.cgi?id=173848

Reviewed by JF Bastien.

This functor only dumps the return VirtualPC.

* interpreter/Interpreter.cpp:
(JSC::DumpReturnVirtualPCFunctor::DumpReturnVirtualPCFunctor):
(JSC::Interpreter::dumpRegisters):
(JSC::DumpRegisterFunctor::DumpRegisterFunctor): Deleted.
(JSC::DumpRegisterFunctor::operator()): Deleted.

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

Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/interpreter/Interpreter.cpp

index d4428f2..b36ac4a 100644 (file)
@@ -1,3 +1,18 @@
+2017-06-26  Mark Lam  <mark.lam@apple.com>
+
+        Renamed DumpRegisterFunctor to DumpReturnVirtualPCFunctor.
+        https://bugs.webkit.org/show_bug.cgi?id=173848
+
+        Reviewed by JF Bastien.
+
+        This functor only dumps the return VirtualPC.
+
+        * interpreter/Interpreter.cpp:
+        (JSC::DumpReturnVirtualPCFunctor::DumpReturnVirtualPCFunctor):
+        (JSC::Interpreter::dumpRegisters):
+        (JSC::DumpRegisterFunctor::DumpRegisterFunctor): Deleted.
+        (JSC::DumpRegisterFunctor::operator()): Deleted.
+
 2017-06-26  Saam Barati  <sbarati@apple.com>
 
         Crash in JSC::Lexer<unsigned char>::setCode
index 02a3fc2..e3492fc 100644 (file)
@@ -367,9 +367,9 @@ void Interpreter::dumpCallFrame(CallFrame* callFrame)
     dumpRegisters(callFrame);
 }
 
-class DumpRegisterFunctor {
+class DumpReturnVirtualPCFunctor {
 public:
-    DumpRegisterFunctor(const Register*& it)
+    DumpReturnVirtualPCFunctor(const Register*& it)
         : m_hasSkippedFirstFrame(false)
         , m_it(it)
     {
@@ -431,7 +431,7 @@ void Interpreter::dumpRegisters(CallFrame* callFrame)
         dataLogF("[ReturnJITPC]              | %10p | %p \n", it, pc.jitReturnAddress().value());
 #endif
 
-    DumpRegisterFunctor functor(it);
+    DumpReturnVirtualPCFunctor functor(it);
     callFrame->iterate(functor);
 
     dataLogF("[CodeBlock]                | %10p | %p \n", it, callFrame->codeBlock());