Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2877)

Unified Diff: src/builtins/ppc/builtins-ppc.cc

Issue 2905683002: PPC/s390: Fix to use correct instr to test bit (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/builtins/s390/builtins-s390.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/builtins/ppc/builtins-ppc.cc
diff --git a/src/builtins/ppc/builtins-ppc.cc b/src/builtins/ppc/builtins-ppc.cc
index fa97eb56b931cc91d08095b53e2011df9b591f21..dc2221e10b37329303cc4f045689e38f7d7cb6e3 100644
--- a/src/builtins/ppc/builtins-ppc.cc
+++ b/src/builtins/ppc/builtins-ppc.cc
@@ -1212,7 +1212,7 @@ void Builtins::Generate_InterpreterEntryTrampoline(MacroAssembler* masm) {
Label gotta_call_runtime;
// Check if the optimized code is marked for deopt.
- __ lbz(r8, FieldMemOperand(optimized_code_entry,
+ __ lwz(r8, FieldMemOperand(optimized_code_entry,
Code::kKindSpecificFlags1Offset));
__ TestBit(r8, Code::kMarkedForDeoptimizationBit, r0);
__ bne(&gotta_call_runtime, cr0);
@@ -1489,7 +1489,7 @@ void Builtins::Generate_CompileLazy(MacroAssembler* masm) {
// Found code, check if it is marked for deopt, if so call into runtime to
// clear the optimized code slot.
- __ lbz(r8, FieldMemOperand(entry, Code::kKindSpecificFlags1Offset));
+ __ lwz(r8, FieldMemOperand(entry, Code::kKindSpecificFlags1Offset));
__ TestBit(r8, Code::kMarkedForDeoptimizationBit, r0);
__ bne(&gotta_call_runtime, cr0);
« no previous file with comments | « no previous file | src/builtins/s390/builtins-s390.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698