summaryrefslogtreecommitdiffstats
path: root/js/src/jit/CodeGenerator.cpp
diff options
context:
space:
mode:
authorGaming4JC <g4jc@hyperbola.info>2019-06-08 23:28:04 -0400
committerGaming4JC <g4jc@hyperbola.info>2019-07-18 22:38:25 -0400
commit3a5176f4b25a2b90cefe14eb2c2de57113dc21ac (patch)
treebc6f6b9a4830a764c825e0dd78a4367b9d0a46a4 /js/src/jit/CodeGenerator.cpp
parent7757e03ccc550b030fb4d342f160ee30a940f23d (diff)
downloadUXP-3a5176f4b25a2b90cefe14eb2c2de57113dc21ac.tar
UXP-3a5176f4b25a2b90cefe14eb2c2de57113dc21ac.tar.gz
UXP-3a5176f4b25a2b90cefe14eb2c2de57113dc21ac.tar.lz
UXP-3a5176f4b25a2b90cefe14eb2c2de57113dc21ac.tar.xz
UXP-3a5176f4b25a2b90cefe14eb2c2de57113dc21ac.zip
1320408 - Part 14: Change some GlobalObject methods to static method.
Diffstat (limited to 'js/src/jit/CodeGenerator.cpp')
-rw-r--r--js/src/jit/CodeGenerator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/jit/CodeGenerator.cpp b/js/src/jit/CodeGenerator.cpp
index fcb711237..573993d5e 100644
--- a/js/src/jit/CodeGenerator.cpp
+++ b/js/src/jit/CodeGenerator.cpp
@@ -1053,7 +1053,7 @@ PrepareAndExecuteRegExp(JSContext* cx, MacroAssembler& masm, Register regexp, Re
Address pairsVectorAddress(masm.getStackPointer(), pairsVectorStartOffset);
- RegExpStatics* res = cx->global()->getRegExpStatics(cx);
+ RegExpStatics* res = GlobalObject::getRegExpStatics(cx, cx->global());
if (!res)
return false;
#ifdef JS_USE_LINK_REGISTER