Index: src/api.cc |
=================================================================== |
--- src/api.cc (revision 9575) |
+++ src/api.cc (working copy) |
@@ -4500,6 +4500,7 @@ |
bool v8::String::CanMakeExternal() { |
+ if (!internal::FLAG_clever_optimizations) return false; |
i::Handle<i::String> obj = Utils::OpenHandle(this); |
i::Isolate* isolate = obj->GetIsolate(); |
if (IsDeadCheck(isolate, "v8::String::CanMakeExternal()")) return false; |