fixup! docs: add Function Inlining rules to PERF_NOTES.md

Co-Authored-By: mhevery <misko@hevery.com>
This commit is contained in:
George Kalpakas 2018-10-31 14:39:00 -07:00 committed by GitHub
parent d8a4c06a7b
commit 094b9fc69e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -98,7 +98,7 @@ export function i18nStart(index: number, message: string, subTemplateIndex?: num
i18nStartFirstTemplatePass(tView, index, message, subTemplateIndex) i18nStartFirstTemplatePass(tView, index, message, subTemplateIndex)
} }
} }
export function i18nStart(tView: TView, index: number, message: string, subTemplateIndex?: number): void { export function i18nStartFirstTemplatePass(tView: TView, index: number, message: string, subTemplateIndex?: number): void {
// LOTS OF CODE HERE WHICH PREVENTS INLINING. // LOTS OF CODE HERE WHICH PREVENTS INLINING.
} }
``` ```