summaryrefslogtreecommitdiffstats
path: root/js/src/jit
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/jit
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/jit')
-rw-r--r--js/src/jit/BaselineJIT.cpp2
-rw-r--r--js/src/jit/Ion.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/js/src/jit/BaselineJIT.cpp b/js/src/jit/BaselineJIT.cpp
index d0e297c2d..5c21926b5 100644
--- a/js/src/jit/BaselineJIT.cpp
+++ b/js/src/jit/BaselineJIT.cpp
@@ -273,7 +273,7 @@ jit::BaselineCompile(JSContext* cx, JSScript* script, bool forceDebugInstrumenta
MOZ_ASSERT(script->canBaselineCompile());
MOZ_ASSERT(IsBaselineEnabled(cx));
- script->ensureNonLazyCanonicalFunction(cx);
+ script->ensureNonLazyCanonicalFunction();
LifoAlloc alloc(TempAllocator::PreferredLifoChunkSize);
TempAllocator* temp = alloc.new_<TempAllocator>(&alloc);
diff --git a/js/src/jit/Ion.cpp b/js/src/jit/Ion.cpp
index c61b414e0..b8a2d2fba 100644
--- a/js/src/jit/Ion.cpp
+++ b/js/src/jit/Ion.cpp
@@ -2153,7 +2153,7 @@ IonCompile(JSContext* cx, JSScript* script,
// Make sure the script's canonical function isn't lazy. We can't de-lazify
// it in a helper thread.
- script->ensureNonLazyCanonicalFunction(cx);
+ script->ensureNonLazyCanonicalFunction();
TrackPropertiesForSingletonScopes(cx, script, baselineFrame);