Index: src/handles.cc |
diff --git a/src/handles.cc b/src/handles.cc |
index d3fd12635b152fd8631e166cef19d582677a5028..407a3b59afea54fd842d5840901baa72ffae1301 100644 |
--- a/src/handles.cc |
+++ b/src/handles.cc |
@@ -944,20 +944,4 @@ bool CompileOptimized(Handle<JSFunction> function, |
return CompileLazyHelper(&info, flag); |
} |
- |
-void LockString(Handle<String> string) { |
- CALL_HEAP_FUNCTION_VOID(string->GetHeap()->isolate(), |
- string->GetHeap()->LockString(*string)); |
-} |
- |
- |
-StringLock::StringLock(Handle<String> string) : string_(string) { |
- LockString(string); |
-} |
- |
- |
-StringLock::~StringLock() { |
- string_->GetHeap()->UnlockString(*string_); |
-} |
- |
} } // namespace v8::internal |