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 377595 4fd740b71f29
parent 377594 68604930b47b
child 377596 290b34ee2388
push id32411
push userkwierso@gmail.com
push dateTue, 29 Aug 2017 23:14:35 +0000
treeherdermozilla-central@db7f19e26e57 [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)