C-minor v0.0

Method.HasSideEffects Property

Assembly: Topten.Cminor.Compiler.dll
Namespace: Topten.Cminor.Types
Declaring Type: Method

Indicates if this method has side effects

public bool HasSideEffects { get; set; }

Remarks

Normally all methods are considered to have side effects but we can optimize for some special methods like built-in operators and casts where we know there are none.

Property Type

bool