| Index: src/code-stubs.h
|
| diff --git a/src/code-stubs.h b/src/code-stubs.h
|
| index 21e21356bb6b6407ea4ee1546a9208a1e432533e..509b36d941af7a5c0289ed2f47bb58b5917b5a96 100644
|
| --- a/src/code-stubs.h
|
| +++ b/src/code-stubs.h
|
| @@ -240,6 +240,8 @@ class CodeStub BASE_EMBEDDED {
|
| virtual ExtraICState GetExtraICState() const { return kNoExtraICState; }
|
| virtual Code::StubType GetStubType() const { return Code::NORMAL; }
|
|
|
| + Code::Flags GetCodeFlags() const;
|
| +
|
| friend std::ostream& operator<<(std::ostream& os, const CodeStub& s) {
|
| s.PrintName(os);
|
| return os;
|
| @@ -323,8 +325,10 @@ class CodeStub BASE_EMBEDDED {
|
|
|
|
|
| #define DEFINE_CODE_STUB(NAME, SUPER) \
|
| - protected: \
|
| + public: \
|
| inline Major MajorKey() const override { return NAME; }; \
|
| + \
|
| + protected: \
|
| DEFINE_CODE_STUB_BASE(NAME##Stub, SUPER)
|
|
|
|
|
|
|