Index: src/code-stubs.h |
diff --git a/src/code-stubs.h b/src/code-stubs.h |
index 912d43d4af3dd225e8ffca8293b1c376aaf1b665..c0a8d3063c8002cdf1b6ea78669cd40d3ebb18d5 100644 |
--- a/src/code-stubs.h |
+++ b/src/code-stubs.h |
@@ -106,7 +106,7 @@ class CodeStub BASE_EMBEDDED { |
// Retrieve the code for the stub if already generated. Do not |
// generate the code if not already generated and instead return a |
// retry after GC Failure object. |
- Object* TryGetCode(); |
+ MUST_USE_RESULT MaybeObject* TryGetCode(); |
static Major MajorKeyFromKey(uint32_t key) { |
return static_cast<Major>(MajorKeyBits::decode(key)); |
@@ -536,7 +536,7 @@ class ApiGetterEntryStub : public CodeStub { |
virtual void SetCustomCache(Code* value); |
static const int kStackSpace = 5; |
- static const int kArgc = 4; |
+ static const int kArgc = 2; |
private: |
Handle<AccessorInfo> info() { return info_; } |
ApiFunction* fun() { return fun_; } |