Commit History

Author SHA1 Message Date
  Dmitry Panov b09a6bfa84 Added constant folding to variable assignments. Avoid using references where possible. 3 years ago
  Dmitry Panov 3f9136fa23 Add binding initialisations to srcMap. Closes #353. 3 years ago
  Dmitry Panov 6b16cd3920 Add throw location to srcMap. Closes #354. 3 years ago
  Dmitry Panov fb27c91c26 Handle invalid object literal keys. Fixes #352. 3 years ago
  Dmitry Panov acd374ca9c Improved the accuracy of source locations. Fixes #347. 3 years ago
  Dmitry Panov bf6af58bbc Refactored tests 3 years ago
  Dmitry Panov b5faa82cee Fixed binding order for global function declarations when there are duplicate names. Fixes #344. 3 years ago
  Dmitry Panov f1567f3952 Upgraded tests, lots of fixes as a result 3 years ago
  Dmitry Panov c357d26fb9 Fixed the use of outer scope 'this' in arrow functions. See #334 4 years ago
  Dmitry Panov ce3fee827a Implemented template literals and \u{xxxx}. Closes #260 4 years ago
  Dmitry Panov 6cede2fa03 Fixed dynamic variable resolution in iteration scopes 4 years ago
  Dmitry Panov 994d93d2a4 Use correct createArgsRest variant when arguments are not in stash. Fixes #327 4 years ago
  Dmitry Panov 07a7fd9355 Fixed argument variable reference resolution in stashless functions 4 years ago
  Dmitry Panov acd0507c3d Allow arrow functions to contain 'use strict' for simple parameter lists. Fixes #323. 4 years ago
  Dmitry Panov 32956a348b Arrow function (#319) 4 years ago
  Dmitry Panov b7029a5638 Ensure ToPropertyKey happens earlier when assigning computed keys. Fixes #312. 4 years ago
  Dmitry Panov b8e8f56aca Support patterns in catch clause. See #305 4 years ago
  Dmitry Panov 26be9bf29f Do not modify sb for variadic calls as it breaks local variables resolution. Instead place a marker on stack and use it to count the number of args. Fixes #311. 4 years ago
  Dmitry Panov 53123f0c9f Make sure variables dynamically bound in parameter scope conflict with parameter bindings. See #305. 4 years ago
  Dmitry Panov 7ad1be9aa9 Support for assignment patterns in for-in and for-of loops. Support for spread elements in call arguments. Fixed various issues related to destructuring assignments. See #305. 4 years ago
  Dmitry Panov e981f83e1b Fixed setting the stack pointer in enterFuncBody. Fixes #309 4 years ago
  Dmitry Panov a7a3a1366b Destructuring assignments, rest and spread properties, default function parameters (#303) 4 years ago
  Dmitry Panov 8f81471d5d Fixed dynamic variable resolution when a parent lexical binding exists 4 years ago
  Dmitry Panov 22dce4853e Make sure the arguments are moved to stash if the context is dynamic 4 years ago
  Dmitry Panov f3cfc97811 Block-scoped declarations (#264) 4 years ago
  Dmitry Panov 13aee8e3cc Shorthand property fixes and support for NamedEvaluation so that function name is set when assigned to a variable 4 years ago
  Dmitry Panov e21ccf39bf Fixed compilation of object literals with numeric keys. Fixes #221. 5 years ago
  Dmitry Panov bf9dcfbbe7 Fixed compilation of falsy 'while' loops. Fixes #220. 5 years ago
  Dmitry Panov 98bf47ee8f Merge branch 'master' into es6 5 years ago
  Dmitry Panov bfd59704b5 Fixed stack leak on empty catch block. Fixes #161. 5 years ago