Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(249)

Unified Diff: src/handles.cc

Issue 8143018: Revert "Added ability to lock strings to prevent their representation or encoding from changing." (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/handles.h ('k') | src/heap.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « src/handles.h ('k') | src/heap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698