| Index: src/api.cc
|
| diff --git a/src/api.cc b/src/api.cc
|
| index 5351b96f0d087ba120f27277c9b1bc8ac95804ea..39741f5b42a8708828c55b6b83b287eb485f232b 100644
|
| --- a/src/api.cc
|
| +++ b/src/api.cc
|
| @@ -1237,7 +1237,7 @@ void FunctionTemplate::SetHiddenPrototype(bool value) {
|
|
|
| void FunctionTemplate::ReadOnlyPrototype() {
|
| i::Isolate* isolate = Utils::OpenHandle(this)->GetIsolate();
|
| - if (IsDeadCheck(isolate, "v8::FunctionTemplate::SetPrototypeAttributes()")) {
|
| + if (IsDeadCheck(isolate, "v8::FunctionTemplate::ReadOnlyPrototype()")) {
|
| return;
|
| }
|
| ENTER_V8(isolate);
|
|
|