Affected files:
M src/messages.cc
M src/messages.js
M src/runtime.h
M src/runtime.cc
A + test/mjsunit/error-accessors.js
M test/mjsunit/harmony/proxies.js
- Format the message string when the error object is constructed, instead of
doing it lazily. Performance impact should be low.
- Turn the message dictionary into a object literal.
- Pass message type and formatting arguments as string and array instead of
bundled into a JSMessageObject. This makes some runtime calls to extract the
values obsolete.
- A bug discovered in proxies.js has been filed in v8:2398