]> gerrit.simantics Code Review - simantics/platform.git/commit
(refs #7260) Added a new DerivedProperty to SCLValues 82/582/1
authorHannu Niemistö <hannu.niemisto@semantum.fi>
Wed, 31 May 2017 12:47:17 +0000 (15:47 +0300)
committerHannu Niemistö <hannu.niemisto@semantum.fi>
Wed, 31 May 2017 12:47:17 +0000 (15:47 +0300)
commitae92649da4fec272f59516a858011413f4453758
treeb9ef5d1097db739d9a972de443b525deea91d925
parent5fac43d7537c84cb2874e1d8c16d93212033a796
(refs #7260) Added a new DerivedProperty to SCLValues

DerivedProperty prevents certain optimizations applied for private
values. This is needed because mechanisms deriving values are assuming
that certain Java methods will be generated.

Change-Id: I1ca9d839b6a4a4c9faa63e5faaa832e49f2d76d8
bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/compilation/CodeGeneration.java
bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/compilation/Elaboration.java
bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/elaboration/modules/DerivedProperty.java [new file with mode: 0644]
bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/elaboration/modules/MethodImplementation.java
bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/internal/parsing/translation/ValueRepository.java