Commit 81c67751 authored by Junliang Yan's avatar Junliang Yan Committed by Commit Bot

PPC: fix constant pool issue in OutOfLineRecordWrite

R=joransiu@ca.ibm.com, jbarboza@ca.ibm.com, michael_dawson@ca.ibm.com

Bug: 
Change-Id: I38688c2168cfe6b1a2baca5ca46726cf3557634b
Reviewed-on: https://chromium-review.googlesource.com/727139Reviewed-by: 's avatarJoran Siu <joransiu@ca.ibm.com>
Commit-Queue: Junliang Yan <jyan@ca.ibm.com>
Cr-Commit-Position: refs/heads/master@{#48709}
parent e1e5f6cf
...@@ -214,6 +214,7 @@ class OutOfLineRecordWrite final : public OutOfLineCode { ...@@ -214,6 +214,7 @@ class OutOfLineRecordWrite final : public OutOfLineCode {
} }
void Generate() final { void Generate() final {
ConstantPoolUnavailableScope constant_pool_unavailable(tasm());
if (mode_ > RecordWriteMode::kValueIsPointer) { if (mode_ > RecordWriteMode::kValueIsPointer) {
__ JumpIfSmi(value_, exit()); __ JumpIfSmi(value_, exit());
} }
...@@ -241,7 +242,6 @@ class OutOfLineRecordWrite final : public OutOfLineCode { ...@@ -241,7 +242,6 @@ class OutOfLineRecordWrite final : public OutOfLineCode {
save_fp_mode); save_fp_mode);
#else #else
if (must_save_lr_ && FLAG_enable_embedded_constant_pool) { if (must_save_lr_ && FLAG_enable_embedded_constant_pool) {
ConstantPoolUnavailableScope constant_pool_unavailable(tasm());
__ CallStubDelayed( __ CallStubDelayed(
new (zone_) RecordWriteStub(nullptr, object_, scratch0_, scratch1_, new (zone_) RecordWriteStub(nullptr, object_, scratch0_, scratch1_,
remembered_set_action, save_fp_mode)); remembered_set_action, save_fp_mode));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment