summaryrefslogtreecommitdiff
path: root/compiler
diff options
context:
space:
mode:
authorJuerg Billeter <j@bitron.ch>2008-05-28 19:01:45 +0000
committerJürg Billeter <juergbi@src.gnome.org>2008-05-28 19:01:45 +0000
commit8c73a50a42a41b3347ca73dbad37a26cc5bf515e (patch)
tree0236e80ef3ff5f45067f37341a19ba793851d182 /compiler
parent28112e28007fc750abec5452b41e96fe2a07e86d (diff)
downloadvala-8c73a50a42a41b3347ca73dbad37a26cc5bf515e.tar.gz
Move memory management into CCodeGenerator.transform_expression as
2008-05-28 Juerg Billeter <j@bitron.ch> * vala/Makefile.am: * vala/valaaddressofexpression.vala: * vala/valaarraycreationexpression.vala: * vala/valaassignment.vala: * vala/valabaseaccess.vala: * vala/valabinaryexpression.vala: * vala/valabooleanliteral.vala: * vala/valacastexpression.vala: * vala/valacharacterliteral.vala: * vala/valacodevisitor.vala: * vala/valaconditionalexpression.vala: * vala/valadatatype.vala: * vala/valaelementaccess.vala: * vala/valaexpression.vala: * vala/valaintegerliteral.vala: * vala/valaintegertype.vala: * vala/valainvocationexpression.vala: * vala/valalambdaexpression.vala: * vala/valamemberaccess.vala: * vala/valanullchecker.vala: * vala/valanullliteral.vala: * vala/valanulltype.vala: * vala/valaobjectcreationexpression.vala: * vala/valaparenthesizedexpression.vala: * vala/valapointerindirection.vala: * vala/valapostfixexpression.vala: * vala/valarealliteral.vala: * vala/valareferencetransferexpression.vala: * vala/valasemanticanalyzer.vala: * vala/valasignal.vala: * vala/valasizeofexpression.vala: * vala/valastringliteral.vala: * vala/valatypecheck.vala: * vala/valatypeofexpression.vala: * vala/valaunaryexpression.vala: * vala/valaunresolvedtype.vala: * vala/valavaluetype.vala: * gobject/valaccodeassignmentbinding.vala: * gobject/valaccodeelementaccessbinding.vala: * gobject/valaccodegenerator.vala: * gobject/valaccodeinvocationexpressionbinding.vala: * gobject/valaccodememberaccessbinding.vala: * gobject/valaccodemethodbinding.vala: * compiler/valacompiler.vala: Move memory management into CCodeGenerator.transform_expression as preparation to properly support nullable structs, fixes memory leak in internal substring method, fixes bug 527775 svn path=/trunk/; revision=1466
Diffstat (limited to 'compiler')
-rw-r--r--compiler/valacompiler.vala7
1 files changed, 0 insertions, 7 deletions
diff --git a/compiler/valacompiler.vala b/compiler/valacompiler.vala
index 1360111e9..07085d5ff 100644
--- a/compiler/valacompiler.vala
+++ b/compiler/valacompiler.vala
@@ -265,13 +265,6 @@ class Vala.Compiler : Object {
}
}
- var memory_manager = new MemoryManager ();
- memory_manager.analyze (context);
-
- if (Report.get_errors () > 0) {
- return quit ();
- }
-
context.codegen.emit (context);
if (Report.get_errors () > 0) {