Caitlin Potter

Toronto

Hacker

Filter

By Type:

Commits

Reland "[esnext] re-implement template strings"

Reland "[esnext] re-implement template strings" - Add a new bytecode for the ToString operation, replacing the old intrinsic call (currently does not collect type feedback). - Add a new AST node to represent TemplateLiterals, and avoid generating...

Caitlin Potter02/04/2018

[esnext] fix OOB read in ASTPrinter::VisistTemplateLiteral

[esnext] fix OOB read in ASTPrinter::VisistTemplateLiteral Fixes an error where TemplateLiteral printing in --print-ast would try to read an element beyond the length of a vector. BUG=v8:7415, chromium:820596 R=adamk@chromium.org,...

Caitlin Potter02/04/2018

[esnext] re-implement template strings

[esnext] re-implement template strings - Add a new bytecode for the ToString operation, replacing the old intrinsic call (currently does not collect type feedback). - Add a new AST node to represent TemplateLiterals, and avoid generating unnecessary...

Caitlin Potter02/04/2018

[cctest] add bytecode generator tests for template literals

[cctest] add bytecode generator tests for template literals Just copies the StringConcat tests and refactors them to exercise template literals rather than simple string addition. BUG=v8:7415 R=rmcilroy@chromium.org Change-Id:...

Caitlin Potter02/04/2018

[parsing] inline ArrayLiteral creation for spread calls

[parsing] inline ArrayLiteral creation for spread calls Instead of using runtime calls to generate the Array Literal passed to %reflect_call / %reflect_construct, we create an ArrayLiteral from the list of arguments, and perform spreads using the...

Caitlin Potter02/04/2018