aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/StatementGen.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/CodeGen/StatementGen.cc')
-rw-r--r--lib/CodeGen/StatementGen.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/CodeGen/StatementGen.cc b/lib/CodeGen/StatementGen.cc
index 5edb303..5b6a13c 100644
--- a/lib/CodeGen/StatementGen.cc
+++ b/lib/CodeGen/StatementGen.cc
@@ -14,10 +14,7 @@ void CodeGen::emitStmt(StmtAST *Stmt) {
if (!Stmt) return;
if (dynamic_cast<IncludeStmtAST*>(Stmt)) return;
- if (dynamic_cast<GlobalBlockAST*>(Stmt)) {
- reportError("GLOBAL is not supported yet");
- return;
- }
+ if (dynamic_cast<GlobalBlockAST*>(Stmt)) return;
if (auto *Class = dynamic_cast<ClassTypeDeclAST*>(Stmt)) {
for (const auto &Method : Class->getMethods()) {