Index: src/ic.h |
diff --git a/src/ic.h b/src/ic.h |
index 6d5f321e6aaaf9740529752a36202650bfc0c02a..f2a7afc84a65cab3e4190bc030bf1270c99837c2 100644 |
--- a/src/ic.h |
+++ b/src/ic.h |
@@ -216,12 +216,12 @@ class CallICBase: public IC { |
Handle<Object> object, |
Code::ExtraICState* extra_ic_state); |
- MUST_USE_RESULT MaybeObject* ComputeMonomorphicStub( |
- LookupResult* lookup, |
- State state, |
- Code::ExtraICState extra_ic_state, |
- Handle<Object> object, |
- Handle<String> name); |
+ // Compute a monomorphic stub if possible, otherwise return a null handle. |
+ Handle<Code> ComputeMonomorphicStub(LookupResult* lookup, |
+ State state, |
+ Code::ExtraICState extra_state, |
+ Handle<Object> object, |
+ Handle<String> name); |
// Update the inline cache and the global stub cache based on the lookup |
// result. |