Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index e9bedcadeb1eff4b9fbd61d29a71a69b1218849c..67e508f02d438ec7c49473370d9ba5043c7e97ba 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -92,8 +92,8 @@ bool Object::BooleanValue() { |
} |
-bool Object::IsCallable() { |
- Object* fun = this; |
+bool Object::IsCallable() const { |
+ const Object* fun = this; |
while (fun->IsJSFunctionProxy()) { |
fun = JSFunctionProxy::cast(fun)->call_trap(); |
} |