D-Programming-Language/dmd — pull request #969 by donc (2012-05-30 07:21:05+00:00)
Title: Refactor: create a single entry point for CTFE interpreting

The code for invoking the interpreter is very messy. Cleaning it up is a step towards fixing a number of CTFE bugs (including 7988, 7640) and also fixing some strange semantics.

After the refactoring is complete, there is a lot of code in optimize.c which can be stripped out because it is duplicated in interpret.c.