summaryrefslogtreecommitdiffstats
path: root/js/src/vm/Stack-inl.h
diff options
context:
space:
mode:
authorGaming4JC <g4jc@hyperbola.info>2019-06-08 21:10:15 -0400
committerGaming4JC <g4jc@hyperbola.info>2019-07-18 22:38:24 -0400
commit93335c3120968fac165a95978ef0dbdffe7900b4 (patch)
treeb5ce39ff2ef517de3c1f00eba6d7a810983d3aaf /js/src/vm/Stack-inl.h
parent4d88f48fdb51a29fd66001e87a74e2d6a130fe1f (diff)
downloadUXP-93335c3120968fac165a95978ef0dbdffe7900b4.tar
UXP-93335c3120968fac165a95978ef0dbdffe7900b4.tar.gz
UXP-93335c3120968fac165a95978ef0dbdffe7900b4.tar.lz
UXP-93335c3120968fac165a95978ef0dbdffe7900b4.tar.xz
UXP-93335c3120968fac165a95978ef0dbdffe7900b4.zip
1320408 - Part 12: Change JSScript::sourceData to static method.
Diffstat (limited to 'js/src/vm/Stack-inl.h')
-rw-r--r--js/src/vm/Stack-inl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/src/vm/Stack-inl.h b/js/src/vm/Stack-inl.h
index 9adea9af5..11a19d175 100644
--- a/js/src/vm/Stack-inl.h
+++ b/js/src/vm/Stack-inl.h
@@ -306,7 +306,7 @@ InterpreterStack::pushInlineFrame(JSContext* cx, InterpreterRegs& regs, const Ca
MOZ_ASSERT(regs.sp == args.end());
MOZ_ASSERT(callee->nonLazyScript() == script);
- script->ensureNonLazyCanonicalFunction(cx);
+ script->ensureNonLazyCanonicalFunction();
InterpreterFrame* prev = regs.fp();
jsbytecode* prevpc = regs.pc;
@@ -342,7 +342,7 @@ InterpreterStack::resumeGeneratorCallFrame(JSContext* cx, InterpreterRegs& regs,
Value* prevsp = regs.sp;
MOZ_ASSERT(prev);
- script->ensureNonLazyCanonicalFunction(cx);
+ script->ensureNonLazyCanonicalFunction();
LifoAlloc::Mark mark = allocator_.mark();