Skip to content

Commit

Permalink
Merge pull request #3823 from ltcmelo/fixFEcompile
Browse files Browse the repository at this point in the history
Fix independent Front-End build
  • Loading branch information
yebblies authored and 9rnsr committed Jul 29, 2014
1 parent 5b0bead commit 8670954
Showing 1 changed file with 24 additions and 67 deletions.
91 changes: 24 additions & 67 deletions src/gluestub.c
Expand Up @@ -18,27 +18,16 @@
#include "init.h"
#include "ctfe.h"
#include "lib.h"
#include "nspace.h"

// tocsym

Symbol *SymbolDeclaration::toSymbol()
{
assert(0);
return NULL;
}

Symbol *Dsymbol::toSymbolX(const char *prefix, int sclass, TYPE *t, const char *suffix)
{
assert(0);
return NULL;
}

Symbol *Dsymbol::toSymbol()
{
assert(0);
return NULL;
}

Symbol *Dsymbol::toImport()
{
assert(0);
Expand All @@ -51,66 +40,12 @@ Symbol *Dsymbol::toImport(Symbol *sym)
return NULL;
}

Symbol *VarDeclaration::toSymbol()
{
assert(0);
return NULL;
}

Symbol *ClassInfoDeclaration::toSymbol()
{
assert(0);
return NULL;
}

Symbol *TypeInfoDeclaration::toSymbol()
{
assert(0);
return NULL;
}

Symbol *TypeInfoClassDeclaration::toSymbol()
{
assert(0);
return NULL;
}

Symbol *FuncAliasDeclaration::toSymbol()
{
assert(0);
return NULL;
}

Symbol *FuncDeclaration::toSymbol()
{
assert(0);
return NULL;
}

Symbol *FuncDeclaration::toThunkSymbol(int offset)
{
assert(0);
return NULL;
}

Symbol *ClassDeclaration::toSymbol()
{
assert(0);
return NULL;
}

Symbol *InterfaceDeclaration::toSymbol()
{
assert(0);
return NULL;
}

Symbol *Module::toSymbol()
{
assert(0);
return NULL;
}

Symbol *ClassDeclaration::toVtblSymbol()
{
assert(0);
Expand Down Expand Up @@ -238,6 +173,11 @@ void TemplateMixin::toObjFile(bool multiobj)
assert(0);
}

void Nspace::toObjFile(bool multiobj)
{
assert(0);
}

// glue

void obj_append(Dsymbol *s)
Expand Down Expand Up @@ -277,6 +217,11 @@ void FuncDeclaration::toObjFile(bool multiobj)
assert(0);
}

void Module::genhelpers(bool iscomdat)
{
assert(0);
}

// msc

void backend_init()
Expand Down Expand Up @@ -432,7 +377,7 @@ Library *LibMach_factory()
return NULL;
}

Statement *AsmStatement::semantic(Scope *)
Statement* asmSemantic(AsmStatement *s, Scope *sc)
{
assert(0);
return NULL;
Expand All @@ -445,3 +390,15 @@ int binary(const char *p, const char **tab, int n)
return i;
return -1;
}

// toir

void buildClosure(FuncDeclaration *fd, IRState *irs)
{
assert(0);
}

RET retStyle(TypeFunction *tf)
{
return RETregs;
}

0 comments on commit 8670954

Please sign in to comment.