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

Side by Side Diff: src/mips64/assembler-mips64.cc

Issue 2105553007: Fix MIPS compile after r37397 (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 5 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 unified diff | Download patch
« no previous file with comments | « src/mips/assembler-mips.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 1994-2006 Sun Microsystems Inc. 1 // Copyright (c) 1994-2006 Sun Microsystems Inc.
2 // All Rights Reserved. 2 // All Rights Reserved.
3 // 3 //
4 // Redistribution and use in source and binary forms, with or without 4 // Redistribution and use in source and binary forms, with or without
5 // modification, are permitted provided that the following conditions are 5 // modification, are permitted provided that the following conditions are
6 // met: 6 // met:
7 // 7 //
8 // - Redistributions of source code must retain the above copyright notice, 8 // - Redistributions of source code must retain the above copyright notice,
9 // this list of conditions and the following disclaimer. 9 // this list of conditions and the following disclaimer.
10 // 10 //
(...skipping 3255 matching lines...) Expand 10 before | Expand all | Expand 10 after
3266 EmitHelper(data); 3266 EmitHelper(data);
3267 } 3267 }
3268 3268
3269 3269
3270 void Assembler::RecordRelocInfo(RelocInfo::Mode rmode, intptr_t data) { 3270 void Assembler::RecordRelocInfo(RelocInfo::Mode rmode, intptr_t data) {
3271 // We do not try to reuse pool constants. 3271 // We do not try to reuse pool constants.
3272 RelocInfo rinfo(isolate(), pc_, rmode, data, NULL); 3272 RelocInfo rinfo(isolate(), pc_, rmode, data, NULL);
3273 if (rmode >= RelocInfo::COMMENT && 3273 if (rmode >= RelocInfo::COMMENT &&
3274 rmode <= RelocInfo::DEBUG_BREAK_SLOT_AT_TAIL_CALL) { 3274 rmode <= RelocInfo::DEBUG_BREAK_SLOT_AT_TAIL_CALL) {
3275 // Adjust code for new modes. 3275 // Adjust code for new modes.
3276 DCHECK(RelocInfo::IsDebugBreakSlot(rmode) 3276 DCHECK(RelocInfo::IsDebugBreakSlot(rmode) || RelocInfo::IsComment(rmode));
3277 || RelocInfo::IsComment(rmode)
3278 || RelocInfo::IsPosition(rmode));
3279 // These modes do not need an entry in the constant pool. 3277 // These modes do not need an entry in the constant pool.
3280 } 3278 }
3281 if (!RelocInfo::IsNone(rinfo.rmode())) { 3279 if (!RelocInfo::IsNone(rinfo.rmode())) {
3282 // Don't record external references unless the heap will be serialized. 3280 // Don't record external references unless the heap will be serialized.
3283 if (rmode == RelocInfo::EXTERNAL_REFERENCE && 3281 if (rmode == RelocInfo::EXTERNAL_REFERENCE &&
3284 !serializer_enabled() && !emit_debug_code()) { 3282 !serializer_enabled() && !emit_debug_code()) {
3285 return; 3283 return;
3286 } 3284 }
3287 DCHECK(buffer_space() >= kMaxRelocSize); // Too late to grow buffer here. 3285 DCHECK(buffer_space() >= kMaxRelocSize); // Too late to grow buffer here.
3288 if (rmode == RelocInfo::CODE_TARGET_WITH_ID) { 3286 if (rmode == RelocInfo::CODE_TARGET_WITH_ID) {
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
3443 3441
3444 if (icache_flush_mode != SKIP_ICACHE_FLUSH) { 3442 if (icache_flush_mode != SKIP_ICACHE_FLUSH) {
3445 Assembler::FlushICache(isolate, pc, 4 * Assembler::kInstrSize); 3443 Assembler::FlushICache(isolate, pc, 4 * Assembler::kInstrSize);
3446 } 3444 }
3447 } 3445 }
3448 3446
3449 } // namespace internal 3447 } // namespace internal
3450 } // namespace v8 3448 } // namespace v8
3451 3449
3452 #endif // V8_TARGET_ARCH_MIPS64 3450 #endif // V8_TARGET_ARCH_MIPS64
OLDNEW
« no previous file with comments | « src/mips/assembler-mips.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698