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

Unified Diff: src/ppc/macro-assembler-ppc.cc

Issue 2921473003: PPC/S390: [compiler] Delay allocation of code-embedded heap numbers.
Patch Set: additional changes for s390 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 | « src/ppc/codegen-ppc.cc ('k') | src/regexp/ppc/regexp-macro-assembler-ppc.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ppc/macro-assembler-ppc.cc
diff --git a/src/ppc/macro-assembler-ppc.cc b/src/ppc/macro-assembler-ppc.cc
index f9a662290df2261f6122db7e3eb7b711bb87313c..9ebb6bd865f422c9067ffade43eebfa38e41bf62 100644
--- a/src/ppc/macro-assembler-ppc.cc
+++ b/src/ppc/macro-assembler-ppc.cc
@@ -127,7 +127,7 @@ void MacroAssembler::Call(Address target, RelocInfo::Mode rmode,
#endif
// This can likely be optimized to make use of bc() with 24bit relative
//
- // RecordRelocInfo(x.rmode_, x.imm_);
+ // RecordRelocInfo(x.rmode_, x.immediate);
// bc( BA, .... offset, LKset);
//
@@ -3617,7 +3617,8 @@ void MacroAssembler::And(Register ra, Register rs, const Operand& rb,
if (rb.is_reg()) {
and_(ra, rs, rb.rm(), rc);
} else {
- if (is_uint16(rb.imm_) && RelocInfo::IsNone(rb.rmode_) && rc == SetRC) {
+ if (is_uint16(rb.immediate()) && RelocInfo::IsNone(rb.rmode_) &&
+ rc == SetRC) {
andi(ra, rs, rb);
} else {
// mov handles the relocation.
@@ -3633,7 +3634,8 @@ void MacroAssembler::Or(Register ra, Register rs, const Operand& rb, RCBit rc) {
if (rb.is_reg()) {
orx(ra, rs, rb.rm(), rc);
} else {
- if (is_uint16(rb.imm_) && RelocInfo::IsNone(rb.rmode_) && rc == LeaveRC) {
+ if (is_uint16(rb.immediate()) && RelocInfo::IsNone(rb.rmode_) &&
+ rc == LeaveRC) {
ori(ra, rs, rb);
} else {
// mov handles the relocation.
@@ -3650,7 +3652,8 @@ void MacroAssembler::Xor(Register ra, Register rs, const Operand& rb,
if (rb.is_reg()) {
xor_(ra, rs, rb.rm(), rc);
} else {
- if (is_uint16(rb.imm_) && RelocInfo::IsNone(rb.rmode_) && rc == LeaveRC) {
+ if (is_uint16(rb.immediate()) && RelocInfo::IsNone(rb.rmode_) &&
+ rc == LeaveRC) {
xori(ra, rs, rb);
} else {
// mov handles the relocation.
« no previous file with comments | « src/ppc/codegen-ppc.cc ('k') | src/regexp/ppc/regexp-macro-assembler-ppc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698