Bug 1393723 - Implement MacroAssembler::PopStackPtr on mips. r=lth
authorDragan Mladjenovic <dragan.mladjenovic@rt-rk.com>
Tue, 29 Aug 2017 00:51:00 -0400
changeset 377557 4fd740b71f29
parent 377556 68604930b47b
child 377558 290b34ee2388
push id94292
push userryanvm@gmail.com
push dateTue, 29 Aug 2017 18:45:26 +0000
treeherdermozilla-inbound@81cdf89896a3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerslth
bugs1393723
milestone57.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1393723 - Implement MacroAssembler::PopStackPtr on mips. r=lth
js/src/jit/mips-shared/MacroAssembler-mips-shared.cpp
--- a/js/src/jit/mips-shared/MacroAssembler-mips-shared.cpp
+++ b/js/src/jit/mips-shared/MacroAssembler-mips-shared.cpp
@@ -1546,17 +1546,18 @@ MacroAssembler::Pop(const ValueOperand& 
 {
     popValue(val);
     framePushed_ -= sizeof(Value);
 }
 
 void
 MacroAssembler::PopStackPtr()
 {
-    MOZ_CRASH("NYI");
+    asMasm().ma_load(StackPointer, Address(StackPointer, 0), SizeWord);
+    framePushed_ -= sizeof(intptr_t);
 }
 
 
 // ===============================================================
 // Simple call functions.
 
 CodeOffset
 MacroAssembler::call(Register reg)