Commit c5f6c9d5 authored by Kevin Modzelewski's avatar Kevin Modzelewski

Merge pull request #1010 from AlphaStream/master

Fix build error caused by missing 'override's.
parents dfd0b2ea d1c9f4fe
...@@ -596,7 +596,7 @@ public: ...@@ -596,7 +596,7 @@ public:
void addDependenceOn(ICInvalidator&); void addDependenceOn(ICInvalidator&);
void gc_visit(gc::GCVisitor* visitor); void gc_visit(gc::GCVisitor* visitor) override;
static Rewriter* createRewriter(void* rtn_addr, int num_args, const char* debug_name); static Rewriter* createRewriter(void* rtn_addr, int num_args, const char* debug_name);
......
...@@ -1619,7 +1619,7 @@ private: ...@@ -1619,7 +1619,7 @@ private:
public: public:
PhonyUnboxedType(llvm::Type* t, CompilerType* usable_type) : t(t), usable_type(usable_type) {} PhonyUnboxedType(llvm::Type* t, CompilerType* usable_type) : t(t), usable_type(usable_type) {}
std::string debugName() { return "phony(" + ConcreteCompilerType::debugName() + ")"; } std::string debugName() override { return "phony(" + ConcreteCompilerType::debugName() + ")"; }
CompilerType* getUsableType() override { return usable_type; } CompilerType* getUsableType() override { return usable_type; }
...@@ -2778,7 +2778,7 @@ public: ...@@ -2778,7 +2778,7 @@ public:
void drop(IREmitter& emitter, VAR* var) override {} void drop(IREmitter& emitter, VAR* var) override {}
void grab(IREmitter& emitter, VAR* var) override {} void grab(IREmitter& emitter, VAR* var) override {}
void assertMatches(UnboxedSlice slice) {} void assertMatches(UnboxedSlice slice) override {}
int numFrameArgs() override { RELEASE_ASSERT(0, "unboxed slice should never get serialized"); } int numFrameArgs() override { RELEASE_ASSERT(0, "unboxed slice should never get serialized"); }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment