| Index: src/code-stubs.h
|
| diff --git a/src/code-stubs.h b/src/code-stubs.h
|
| index eb858b0096569d4b1527a18ec51155193d93781c..e559263753286ad84cbbe656398925d82ff26691 100644
|
| --- a/src/code-stubs.h
|
| +++ b/src/code-stubs.h
|
| @@ -187,6 +187,8 @@ class CodeStub BASE_EMBEDDED {
|
| static void InitializeDescriptor(Isolate* isolate, uint32_t key,
|
| CodeStubDescriptor* desc);
|
|
|
| + static MaybeHandle<Code> GetCode(Isolate* isolate, uint32_t key);
|
| +
|
| // Returns information for computing the number key.
|
| virtual Major MajorKey() const = 0;
|
| uint32_t MinorKey() const { return minor_key_; }
|
| @@ -261,6 +263,8 @@ class CodeStub BASE_EMBEDDED {
|
| static void Dispatch(Isolate* isolate, uint32_t key, void** value_out,
|
| DispatchedCall call);
|
|
|
| + static void GetCodeDispatchCall(CodeStub* stub, void** value_out);
|
| +
|
| STATIC_ASSERT(NUMBER_OF_IDS < (1 << kStubMajorKeyBits));
|
| class MajorKeyBits: public BitField<uint32_t, 0, kStubMajorKeyBits> {};
|
| class MinorKeyBits: public BitField<uint32_t,
|
|
|