Index: src/accessors.cc |
diff --git a/src/accessors.cc b/src/accessors.cc |
index 94e800a27c0a4c94b06085672de6dffdf9c16902..73270d187c5ed4ea7675ccc25adaab0e6cb00707 100644 |
--- a/src/accessors.cc |
+++ b/src/accessors.cc |
@@ -1321,7 +1321,7 @@ MaybeHandle<JSFunction> FindCaller(Isolate* isolate, |
// If caller is a built-in function and caller's caller is also built-in, |
// use that instead. |
JSFunction* potential_caller = caller; |
- while (potential_caller != NULL && potential_caller->IsBuiltin()) { |
+ while (potential_caller != NULL && potential_caller->shared()->IsBuiltin()) { |
caller = potential_caller; |
potential_caller = it.next(); |
} |