Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index 736f0b00d7ac833ca3409ebd703a90f8ef49a5bc..8af9a9b6665a9f7890ea7f5f4e7d875929e14115 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -602,13 +602,6 @@ void ResourceConstraints::ConfigureDefaults(uint64_t physical_memory) { |
} |
-bool SetResourceConstraints(ResourceConstraints* constraints) { |
- i::Isolate* isolate = EnterIsolateIfNeeded(); |
- return SetResourceConstraints(reinterpret_cast<Isolate*>(isolate), |
- constraints); |
-} |
- |
- |
bool SetResourceConstraints(Isolate* v8_isolate, |
ResourceConstraints* constraints) { |
i::Isolate* isolate = reinterpret_cast<i::Isolate*>(v8_isolate); |