Commit graph

104 commits

Author SHA1 Message Date
Jiaxun Yang
1d29d6882c Bug 1271968 - IonMonkey: MIPS: Make jit code in same 256 MB-aligned region
Tag: #1542
2020-05-23 06:54:14 +08:00
Jiaxun Yang
90144c967f [IonMonkey] MIPS: Import small optimizations from load & store 2020-05-23 06:54:10 +08:00
Jiaxun Yang
8bab1f4fbf Issue #1542 - IonMonkey: MIPS32: Fix build error on O32 platform. 2020-05-23 06:54:07 +08:00
Jiaxun Yang
06f5e5b9b5 Bug 1323646 - IonMonkey: MIPS64: Fix range checking in ma_addTestOverflow
Tag: #1542
2020-05-23 06:54:04 +08:00
Jiaxun Yang
e293ccbcd4 Bug 1323642 - IonMonkey: MIPS64: Fix load unsigned 48-bit immediate
Issue:
In ma_li(Register, ImmWord):
	Load unsigned 48-bit immediate: 0x0000_8000_0000_0000
	Wrong instructions stream:
		lui	reg, 0x8000
		dsll	reg, reg, 16 # reg = 0xffff_8000_0000_0000
	Fixed instructions stream:
		lui	reg, 0x8000
		dinsu	reg, zero, 32, 32
		dsll	reg, reg, 16

Tag: #1542
2020-05-23 06:54:01 +08:00
Jiaxun Yang
c15d832a98 Bug 1323136 - wasm: MIPS: Do bounds check in 32-bit
Tag: #1542
2020-05-23 06:53:58 +08:00
Jiaxun Yang
5a62948a43 Bug 1344597 - Baldr: MIPS: Fix trap type of unsigned divide by zero
Tag: #1542
2020-05-23 06:53:55 +08:00
Moonchild
4f72c20f83 [js] Record load in MCreateThis alias set. 2020-05-09 06:56:29 +08:00
Jan de Mooij
95db678f71 [js] Handle functions with rest parameters in isObservableArgumentSlot. 2020-04-11 09:40:45 +08:00
wolfbeast
bc6ac88559 [js] Remove pointless MakeMRegExpHoistable optimization.
It's a lot of code with no measurable effect.
2020-03-20 08:58:33 +08:00
wolfbeast
2996c783d8 Revert #1091 Remove unboxed object code phase 1 + extras.
This should be the last code backout for this. merging this branch
should get us back to the way we were (+ additional code changes for
later changes) as fasr as the unused unboxed code is concerned.
2020-02-27 07:34:57 +08:00
wolfbeast
cfed2447da Revert #1137 - Remove unboxed arrays
- accounting for removal of watch()/unwatch()
- updated for intermediate code changes.
2020-02-27 07:34:50 +08:00
wolfbeast
47781d6165 Revert #1142 - Remove unboxed objects
- accounting for removal of watch()/unwatch()
2020-02-27 07:33:11 +08:00
wolfbeast
90e01a7329 Revert 1320408 part 15: Make addDataProperty static 2020-02-27 07:33:07 +08:00
wolfbeast
844d2dd0ff Simplify some alias sets in IonMonkey. 2020-01-17 09:15:00 +08:00
Gaming4JC
06b3cb6ccd Bug 1331092 - Part 8: Support JSOP_TOASYNCITER in JIT.
Tag #1287
2019-12-18 09:17:00 +08:00
Gaming4JC
67b8cd621a Bug 1331092 - Part 6: Support JSOP_TOASYNCGEN in JIT.
Tag #1287
2019-12-18 09:16:57 +08:00
Gaming4JC
086d14cb8b Bug 1344753 - Update for-of stack depth in ControlFlowGenerator::processWhileOrForInLoop.
Tag #1287
2019-12-18 09:16:02 +08:00
Gaming4JC
a6872d9ea3 Bug 1343481 - Part 3: Add JSOP_AWAIT and rename {yieldIndex,yieldOffset} to {yieldAndAwaitIndex,yieldAndAwaitOffset}.
Tag #1287
2019-12-18 09:15:54 +08:00
Gaming4JC
7eb5d46c11 Bug 1343481 - Part 1: Remove {JSFunction,JSScript,LazyScript}.isGenerator() method.
Tag #1287
2019-12-18 09:15:51 +08:00
janekptacijarabaci
e82ffc59bb Bug 1326453 - Part 5: Remove no longer used ListIterator implementation 2019-11-11 21:57:42 +08:00
wolfbeast
ca9e376e55 Issue #1257 - Part 2: Remove watch/unwatch and JS watchpoint class. 2019-11-01 10:24:09 +08:00
wolfbeast
8896e73c1a Fix type barrier in IonBuilder::jsop_getimport. 2019-10-25 12:00:28 +08:00
Dmitry Grigoryev
6ba305ded8 Replace calls to undefined functions isMarkable() and toMarkablePointer() 2019-10-18 09:05:01 +08:00
wolfbeast
33d503a975 Use the correct group for JIT constraints.
This fixes a rare crash/CTD in JS.
This adds information about the constraints to a new RAII class so we
can finish all constraints at the end.
Based on changes in BZ 1568397
2019-09-06 23:49:58 +08:00
wolfbeast
e78a4b88e3 Remove unused checking function for unboxed types.
Tag #1030
2019-07-22 19:56:03 +08:00
Gaming4JC
61235c7be1 1344334 - Make DoTypeUpdateFallback infallible. 2019-07-22 19:52:54 +08:00
Gaming4JC
4f51cc381d 1344477 - Part 2: Optimize Array.prototype.splice with JSOP_NORVCALL. 2019-07-22 19:52:27 +08:00
Gaming4JC
417aa02122 1344477 - Part 1: Add JSOP_CALL_IGNORES_RV for function call that ignores return value. 2019-07-22 19:52:23 +08:00
Gaming4JC
a2451c8234 1320408 - Part 15: Change NativeObject::addDataProperty to static method. 2019-07-22 19:48:18 +08:00
Gaming4JC
cc8cb910dd 1320408 - Part 14: Change some GlobalObject methods to static method. 2019-07-22 19:48:14 +08:00
Gaming4JC
d208cccd10 1320408 - Part 12: Change JSScript::sourceData to static method. 2019-07-22 19:48:01 +08:00
Gaming4JC
87bfc02f09 1320408 - Part 4: Change JSObject::getGroup to static method. 2019-07-22 19:47:34 +08:00
Gaming4JC
07cd213071 1320408 - Part 2: Change JSFunction::getOrCreateScript to static method. 2019-07-22 19:47:27 +08:00
Lars T Hansen
b97da34a21 Define JumpImmediateRange on ARM64.
There are comments in the code suggesting that we've made plans at some
point to handle very far jumps via patching + indirect jumps, but all of
those comments are TODO/FIXME. Absent such a strategy, the furthest jump
is 2^27-1 bytes, and we need to define JumpImmediateRange to reflect
that.
2019-07-22 19:45:17 +08:00
Gaming4JC
db85a69fdb Issue #1142 - Cleanup unused debug code for unboxed objects
Also fixes an assertion during compile if debug is enabled since unboxed objects have been removed.
2019-07-05 21:30:00 +08:00
g4jc
2b5f3e87c8 Issue #1142 - Remove uneeded assertion (#1145)
Since unboxed objects were removed, isUnboxed is undefined. This causes a build failure when debuging is enabled. This patch fixes the issue by removing the uneeeded assertion.
2019-07-05 21:29:58 +08:00
wolfbeast
0342ac0a6b Clean up MObjectState 2019-06-28 20:11:24 +08:00
wolfbeast
c2c997f393 Remove now-unused parameter (prev. used for unboxed objects). 2019-06-28 20:11:21 +08:00
wolfbeast
82e3eafecf Remove UnboxedObjects ObjectGroup addendum 2019-06-28 20:11:18 +08:00
wolfbeast
05daa3c420 Remove Unboxed Objects Option Code 2019-06-28 20:11:12 +08:00
wolfbeast
7ec709fb70 Remove Unboxed Object code from jit, Part 4. 2019-06-28 20:11:07 +08:00
wolfbeast
bc5121a769 Remove Unboxed Object code from jit, Part 3. 2019-06-28 20:11:04 +08:00
wolfbeast
0c434f7244 Fix unified deprot 2019-06-28 20:11:01 +08:00
wolfbeast
3e1ffa6cf6 Remove Unboxed Object code from jit, Part 2. 2019-06-28 20:10:58 +08:00
wolfbeast
bd6c34b56a Revert "Remove JSOP_SPREADCALLARRAY and just use JSOP_NEWARRAY again."
This reverts commit 912c3f5cbc512557794a3dfd7bc5cb4994413dfe.
2019-06-28 20:10:21 +08:00
wolfbeast
aae7584fdd Call a more generic function when inlining array natives.
This simplifies the code a bit because
ElementAccessHasExtraIndexedProperty checks for length-overflow
(directly) and sparse-indexes (through TypeCanHaveExtraIndexedProperties)
so the callers don't have to do that anymore.
2019-06-21 09:58:16 +08:00
wolfbeast
8dcf847a45 Tabs -> Spaces (no code change) 2019-06-19 21:34:41 +08:00
wolfbeast
a6bb928fa4 Remove JSOP_SPREADCALLARRAY and just use JSOP_NEWARRAY again. 2019-06-19 21:34:38 +08:00
wolfbeast
90bb3e7f1d Remove and clean up more code. 2019-06-19 21:34:34 +08:00