Граф коммитов

19 Коммитов

Автор SHA1 Сообщение Дата
brendan%mozilla.org 2158473744 Fix IDENTIFIER resolution to use in, not hasOwnProperty, since we are metacircular on __proto__. 2004-05-17 23:10:53 +00:00
brendan%mozilla.org 8dcdcb1f89 Parallel fix to SpiderMonkey's bug 238945, to automatically insert ; after do-while on any error token. 2004-03-30 03:25:17 +00:00
brendan%mozilla.org 533fdfabe2 Fiddle comment. 2004-02-25 22:34:53 +00:00
brendan%mozilla.org b6b0241e94 Use label local in Statement; eliminate somewhat arbitrary empty lines. 2004-02-25 09:06:36 +00:00
brendan%mozilla.org 0bc43fbec1 Duh. 2004-02-24 21:23:45 +00:00
brendan%mozilla.org df0ecadb4b s/compile/parse/ -- compile is overgeneral, especially in light of what's next. 2004-02-24 03:04:40 +00:00
brendan%mozilla.org c4044d863e Simplify consts generation slightly. 2004-02-24 03:03:33 +00:00
brendan%mozilla.org 09acb4babf Add ecmaStrictMode to CompilerContext. 2004-02-22 07:21:55 +00:00
brendan%mozilla.org c0ad926a1b Elaborate reference error message; fix iloop in __hasInstance__. 2004-02-20 07:35:28 +00:00
brendan%mozilla.org 962663d3d9 t.scanOperand should be true by default, eliminating scanForOperand bloat. 2004-02-17 08:43:48 +00:00
brendan%mozilla.org 5632fed18a s/this/v/g in getValue. 2004-02-16 16:55:40 +00:00
brendan%mozilla.org 3ddaa18b05 - Add source and cursor properties to SyntaxError exceptions.
- Rework labeled statements to fix chicken-and-egg problem with BREAK to label
  completion type targeting.
- Unify next-statement non-expression token cases and default: in Expression.
2004-02-16 02:38:19 +00:00
brendan%mozilla.org 42c4aff0a0 - Fix global.String to convert its argument to string type when called as
a function.
- Rework labeled statements to fix chicken-and-egg problem with BREAK to label
  completion type targeting.
- Avoid defining Function.prototype.__call__, __construct__, and
  __hasInstance__ once they're set, to avoid storing host-uninterpretable
  target function objects in those properties.
- Fix evaluate to throw a host exception if returning to the host interpreter.
2004-02-16 02:15:27 +00:00
brendan%mozilla.org 02939f0679 Fully bootstrapped, but host still can't apply target functions. 2004-02-14 21:58:10 +00:00
brendan%mozilla.org 76d7770850 Fix Expression to work with Statement's automatic semicolon insertion logic. 2004-02-14 21:56:41 +00:00
brendan%mozilla.org 70d3411bc0 Fix Expression to stop on : only if hookLevel is not elevated. 2004-02-11 08:30:20 +00:00
brendan%mozilla.org f3068c76bf Checkpoint, still not quite metacircularly bootstrapped. 2004-02-11 07:57:19 +00:00
brendan%mozilla.org bd08f327fb - ECMA-prescribed {DontEnum} attributes for length on empty arg list, and on
<any-function>.prototype.constructor.
- Put rarely-set default properties in prototypes.
- Improve a couple of comments.
2004-02-03 23:58:03 +00:00
brendan%mozilla.org 8f62320cc9 JS implemented in JS, initial checkin. 2004-02-03 03:28:54 +00:00