]> git.saurik.com Git - apple/javascriptcore.git/blobdiff - jit/JITStubRoutine.cpp
JavaScriptCore-7600.1.4.11.8.tar.gz
[apple/javascriptcore.git] / jit / JITStubRoutine.cpp
index 28543a8b8483650a0ba5ccc51ad49f93806fd910..8a6839b62d509642565ae45d1e235a9135f9dc24 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2012 Apple Inc. All rights reserved.
+ * Copyright (C) 2012, 2014 Apple Inc. All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
 #if ENABLE(JIT)
 
 #include "JSObject.h"
-
+#include "JSCInlines.h"
 #include "SlotVisitor.h"
 
 namespace JSC {
 
 JITStubRoutine::~JITStubRoutine() { }
 
+bool JITStubRoutine::visitWeak(RepatchBuffer&)
+{
+    return true;
+}
+
 void JITStubRoutine::observeZeroRefCount()
 {
     RELEASE_ASSERT(!m_refCount);