| Index: src/compiler/pipeline.cc
|
| diff --git a/src/compiler/pipeline.cc b/src/compiler/pipeline.cc
|
| index 2614155722e2f32fb6e21842d13e6746f7da445f..6714b26937850822a10ccf5e13d243cb7da9af25 100644
|
| --- a/src/compiler/pipeline.cc
|
| +++ b/src/compiler/pipeline.cc
|
| @@ -1512,7 +1512,7 @@ bool PipelineImpl::CreateGraph() {
|
| // Determine the Typer operation flags.
|
| Typer::Flags flags = Typer::kNoFlags;
|
| if (is_sloppy(info()->shared_info()->language_mode()) &&
|
| - !info()->shared_info()->IsBuiltin()) {
|
| + info()->shared_info()->IsUserJavaScript()) {
|
| // Sloppy mode functions always have an Object for this.
|
| flags |= Typer::kThisIsReceiver;
|
| }
|
|
|