Bob Nystrom
a550d6cea4
Change how new operators are compiled.
...
Instead of an instruction that always instantiates an instance,
the "new" is compiled to a method call on the class, followed by a
method call on the (presumably) new instance.
The former lets built-in types like Fn do special stuff instead of
allocating an instance. In particular, it means:
new Fn { ... }
can just return the block argument.
2014-04-02 17:42:30 -07:00
..
2014-01-05 12:27:12 -08:00
2014-01-05 12:27:12 -08:00
2014-01-06 08:01:04 -08:00
2014-02-14 20:15:49 -08:00
2014-01-05 12:27:12 -08:00
2014-01-05 12:27:12 -08:00
2014-02-15 11:36:01 -08:00
2014-02-13 08:38:44 -08:00
2014-04-02 17:31:58 -07:00
2014-01-19 13:01:51 -08:00
2014-02-13 08:38:44 -08:00
2014-04-02 17:42:30 -07:00
2014-01-20 18:12:55 -08:00
2014-02-12 17:33:35 -08:00
2014-02-23 21:53:49 -06:00
2014-01-05 12:27:12 -08:00
2014-04-02 17:42:30 -07:00
2014-01-15 07:59:10 -08:00
2014-02-16 09:20:31 -08:00
2014-01-20 18:12:55 -08:00
2014-02-23 21:53:49 -06:00
2014-02-24 07:27:43 -08:00
2014-01-28 15:31:11 -08:00
2014-02-16 09:20:31 -08:00
2014-01-12 19:37:11 -08:00
2014-01-05 12:27:12 -08:00
2014-01-19 13:01:51 -08:00
2014-02-13 08:38:44 -08:00
2014-01-17 17:29:10 -08:00
2014-02-14 06:37:37 -08:00
2014-01-05 12:27:12 -08:00
2014-02-13 08:38:44 -08:00
2014-01-05 12:27:12 -08:00
2014-01-05 12:27:12 -08:00
2014-01-05 12:27:12 -08:00
2014-03-06 06:51:16 -08:00
2014-01-05 12:27:12 -08:00
2014-01-05 12:27:12 -08:00
2014-01-05 12:27:12 -08:00
2014-01-05 12:27:12 -08:00
2014-01-05 12:27:12 -08:00