OSDN Git Service

BuildInvoke refactor: extract String.init in its own code path
authorCalin Juravle <calin@google.com>
Tue, 25 Aug 2015 14:02:42 +0000 (15:02 +0100)
committerCalin Juravle <calin@google.com>
Thu, 17 Sep 2015 11:26:28 +0000 (12:26 +0100)
commit5d01db1aa7634a012109d43e6403451b76de1daa
tree9032845624b975d13d28cdddd920e6b66ddae2db
parent9b2c10ebac8e024412b4cc43e6511d724a0fd345
BuildInvoke refactor: extract String.init in its own code path

This makes it clear that we special handle String init. Getting rid of
all `if (is_string_init)` improves readability into what we actually do
and expect for strings.

Change-Id: I9b4fba4c3ea89e0003c0704335cbe80e874d0e15
compiler/optimizing/builder.cc
compiler/optimizing/builder.h