| Index: src/accessors.cc
|
| diff --git a/src/accessors.cc b/src/accessors.cc
|
| index 8d5615278bbb4f79e6ec5fad5ac7ac92717d6f2d..b18cd9967b69d6af7e8de83d65004fea70442ef4 100644
|
| --- a/src/accessors.cc
|
| +++ b/src/accessors.cc
|
| @@ -977,7 +977,7 @@ void Accessors::FunctionLengthGetter(
|
| } else {
|
| // If the function isn't compiled yet, the length is not computed
|
| // correctly yet. Compile it now and return the right length.
|
| - if (Compiler::EnsureCompiled(function, KEEP_EXCEPTION)) {
|
| + if (Compiler::Compile(function, KEEP_EXCEPTION)) {
|
| length = function->shared()->length();
|
| }
|
| if (isolate->has_pending_exception()) {
|
|
|