summaryrefslogtreecommitdiffstats
path: root/chromium/v8/src/regexp/ppc/regexp-macro-assembler-ppc.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/v8/src/regexp/ppc/regexp-macro-assembler-ppc.cc')
-rw-r--r--chromium/v8/src/regexp/ppc/regexp-macro-assembler-ppc.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/chromium/v8/src/regexp/ppc/regexp-macro-assembler-ppc.cc b/chromium/v8/src/regexp/ppc/regexp-macro-assembler-ppc.cc
index d205ac9bb42..b0f2de4dd7b 100644
--- a/chromium/v8/src/regexp/ppc/regexp-macro-assembler-ppc.cc
+++ b/chromium/v8/src/regexp/ppc/regexp-macro-assembler-ppc.cc
@@ -110,6 +110,9 @@ RegExpMacroAssemblerPPC::RegExpMacroAssemblerPPC(Isolate* isolate, Zone* zone,
internal_failure_label_() {
DCHECK_EQ(0, registers_to_save % 2);
+ // Because RegExp code respects C ABI, so needs a FD
+ __ function_descriptor();
+
__ b(&entry_label_); // We'll write the entry code later.
// If the code gets too big or corrupted, an internal exception will be
// raised, and we will exit right away.