Commit e8fbf582 authored by Jaideep Bajwa's avatar Jaideep Bajwa Committed by Commit Bot

PPC/S390: use 32bit load to fix endianess issue

R=joransiu@ca.ibm.com, jyan@ca.ibm.com
BUG=
LOG=N

Change-Id: I353f953b6b2d9c20ebd9d141b33da47761f3e43b
Reviewed-on: https://chromium-review.googlesource.com/653808Reviewed-by: 's avatarJunliang Yan <jyan@ca.ibm.com>
Commit-Queue: Jaideep Bajwa <bjaideep@ca.ibm.com>
Cr-Commit-Position: refs/heads/master@{#47860}
parent b91b8def
......@@ -1005,7 +1005,7 @@ void CodeGenerator::BailoutIfDeoptimized() {
__ bind(&current);
int offset =
Code::kKindSpecificFlags1Offset - (Code::kHeaderSize + pc_offset);
__ LoadP(r11, MemOperand(r11, offset));
__ LoadWordArith(r11, MemOperand(r11, offset));
__ TestBit(r11, Code::kMarkedForDeoptimizationBit);
Handle<Code> code = isolate()->builtins()->builtin_handle(
Builtins::kCompileLazyDeoptimizedCode);
......
......@@ -1204,7 +1204,7 @@ void CodeGenerator::BailoutIfDeoptimized() {
__ bind(&current);
int offset =
Code::kKindSpecificFlags1Offset - (Code::kHeaderSize + pc_offset);
__ LoadP(ip, MemOperand(r1, offset));
__ LoadW(ip, MemOperand(r1, offset));
__ TestBit(ip, Code::kMarkedForDeoptimizationBit);
Handle<Code> code = isolate()->builtins()->builtin_handle(
Builtins::kCompileLazyDeoptimizedCode);
......
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