summaryrefslogtreecommitdiff
path: root/Source/JavaScriptCore/interpreter/CallFrameClosure.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/JavaScriptCore/interpreter/CallFrameClosure.h')
-rw-r--r--Source/JavaScriptCore/interpreter/CallFrameClosure.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/Source/JavaScriptCore/interpreter/CallFrameClosure.h b/Source/JavaScriptCore/interpreter/CallFrameClosure.h
index e3326626d..a625caf9b 100644
--- a/Source/JavaScriptCore/interpreter/CallFrameClosure.h
+++ b/Source/JavaScriptCore/interpreter/CallFrameClosure.h
@@ -23,8 +23,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef CallFrameClosure_h
-#define CallFrameClosure_h
+#pragma once
#include "ProtoCallFrame.h"
@@ -49,13 +48,6 @@ struct CallFrameClosure {
{
protoCallFrame->setArgument(argument, value);
}
-
- void resetCallFrame()
- {
- protoCallFrame->setScope(scope);
- }
};
}
-
-#endif