Add inline function support

R=arv, jmesserly@google.com
BUG=

Review URL: https://codereview.appspot.com/96680044