summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/saved-stacks/function-display-name.js
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-03-19 16:08:36 +0100
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-03-19 16:08:36 +0100
commiteb94521052069487322ab45aba9df6e29fc2ce8c (patch)
treef55dcd07c5e8ed7eef7372e533f49566ec413545 /js/src/jit-test/tests/saved-stacks/function-display-name.js
parente3f1d0d10638e46e3a22cf8363c03922200cb158 (diff)
downloadUXP-eb94521052069487322ab45aba9df6e29fc2ce8c.tar
UXP-eb94521052069487322ab45aba9df6e29fc2ce8c.tar.gz
UXP-eb94521052069487322ab45aba9df6e29fc2ce8c.tar.lz
UXP-eb94521052069487322ab45aba9df6e29fc2ce8c.tar.xz
UXP-eb94521052069487322ab45aba9df6e29fc2ce8c.zip
Part 4: Fix existing tests
Issue #87
Diffstat (limited to 'js/src/jit-test/tests/saved-stacks/function-display-name.js')
-rw-r--r--js/src/jit-test/tests/saved-stacks/function-display-name.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/js/src/jit-test/tests/saved-stacks/function-display-name.js b/js/src/jit-test/tests/saved-stacks/function-display-name.js
index cfe175758..f10b7de6b 100644
--- a/js/src/jit-test/tests/saved-stacks/function-display-name.js
+++ b/js/src/jit-test/tests/saved-stacks/function-display-name.js
@@ -2,9 +2,8 @@
function uno() { return dos(); }
const dos = () => tres.quattro();
-const tres = {
- quattro: () => saveStack()
-};
+let tres = {};
+tres.quattro = () => saveStack()
const frame = uno();