Remove dumb CodeBlock duplication in the emitters.

Fixes issue 6990.
This uses a bit of templating to remove the duplicate code that is the CodeBlocks in each emitter headers.
No actual functionality change in this.
This commit is contained in:
Ryan Houdek
2014-04-09 01:22:52 -05:00
parent 7d8604ac1c
commit 87d106d65c
15 changed files with 111 additions and 145 deletions

View File

@ -88,7 +88,7 @@ private:
// ARMTODO: This should be done in a better way
#ifndef _M_GENERIC
class VertexLoader : public Gen::XCodeBlock, NonCopyable
class VertexLoader : public Gen::X64CodeBlock
#else
class VertexLoader
#endif