Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index c73860f70688608df90cdea913ebe7d14513da69..22b9dafa4b1a07c739cda5b7ddc80756ce8c74bc 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -6153,7 +6153,7 @@ void Map::Clear() { |
i::Isolate* isolate = self->GetIsolate(); |
LOG_API(isolate, "Map::Clear"); |
ENTER_V8(isolate); |
- i::Runtime::JSMapClear(isolate, self); |
+ i::JSMap::Clear(self); |
} |
@@ -6269,7 +6269,7 @@ void Set::Clear() { |
i::Isolate* isolate = self->GetIsolate(); |
LOG_API(isolate, "Set::Clear"); |
ENTER_V8(isolate); |
- i::Runtime::JSSetClear(isolate, self); |
+ i::JSSet::Clear(self); |
} |
@@ -6535,7 +6535,7 @@ void v8::ArrayBuffer::Neuter() { |
"Only neuterable ArrayBuffers can be neutered"); |
LOG_API(obj->GetIsolate(), "v8::ArrayBuffer::Neuter()"); |
ENTER_V8(isolate); |
- i::Runtime::NeuterArrayBuffer(obj); |
+ obj->Neuter(); |
} |