From d540dfd41156d01f530bfaa9121c19fdc6b25421 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Billeter?= Date: Fri, 29 Oct 2010 08:01:32 +0200 Subject: Add Subroutine class --- vala/valapropertyaccessor.vala | 27 +-------------------------- 1 file changed, 1 insertion(+), 26 deletions(-) (limited to 'vala/valapropertyaccessor.vala') diff --git a/vala/valapropertyaccessor.vala b/vala/valapropertyaccessor.vala index 5579e8bd9..678eb4cf9 100644 --- a/vala/valapropertyaccessor.vala +++ b/vala/valapropertyaccessor.vala @@ -25,7 +25,7 @@ using GLib; /** * Represents a get or set accessor of a property in the source code. */ -public class Vala.PropertyAccessor : Symbol { +public class Vala.PropertyAccessor : Subroutine { /** * The corresponding property. */ @@ -62,25 +62,6 @@ public class Vala.PropertyAccessor : Symbol { */ public bool construction { get; set; } - /** - * The accessor body. - */ - public Block? body { - get { return _body; } - set { - _body = value; - if (_body != null) { - _body.owner = scope; - } - } - } - - public BasicBlock entry_block { get; set; } - - public BasicBlock return_block { get; set; } - - public BasicBlock exit_block { get; set; } - /** * True if the body was automatically generated */ @@ -91,11 +72,6 @@ public class Vala.PropertyAccessor : Symbol { */ public Parameter value_parameter { get; set; } - /** - * Specifies the generated `result' variable in a get accessor. - */ - public LocalVariable? result_var { get; set; } - public virtual string get_default_cname () { var t = (TypeSymbol) prop.parent_symbol; @@ -119,7 +95,6 @@ public class Vala.PropertyAccessor : Symbol { private DataType _value_type; private string? _cname; - private Block _body; /** * Creates a new property accessor. -- cgit v1.2.1