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

Side by Side Diff: src/s390/assembler-s390.h

Issue 2109613004: Remove position info from relocation info. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@turbosourcepos
Patch Set: fix 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/ppc/assembler-ppc.cc ('k') | src/s390/assembler-s390.cc » ('j') | 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 5 // modification, are permitted provided that the following conditions
6 // are met: 6 // are 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 1231 matching lines...) Expand 10 before | Expand all | Expand 10 after
1242 // Use --trace-deopt to enable. 1242 // Use --trace-deopt to enable.
1243 void RecordDeoptReason(const int reason, int raw_position, int id); 1243 void RecordDeoptReason(const int reason, int raw_position, int id);
1244 1244
1245 // Writes a single byte or word of data in the code stream. Used 1245 // Writes a single byte or word of data in the code stream. Used
1246 // for inline tables, e.g., jump-tables. 1246 // for inline tables, e.g., jump-tables.
1247 void db(uint8_t data); 1247 void db(uint8_t data);
1248 void dd(uint32_t data); 1248 void dd(uint32_t data);
1249 void dq(uint64_t data); 1249 void dq(uint64_t data);
1250 void dp(uintptr_t data); 1250 void dp(uintptr_t data);
1251 1251
1252 AssemblerPositionsRecorder* positions_recorder() {
1253 return &positions_recorder_;
1254 }
1255
1256 void PatchConstantPoolAccessInstruction(int pc_offset, int offset, 1252 void PatchConstantPoolAccessInstruction(int pc_offset, int offset,
1257 ConstantPoolEntry::Access access, 1253 ConstantPoolEntry::Access access,
1258 ConstantPoolEntry::Type type) { 1254 ConstantPoolEntry::Type type) {
1259 // No embedded constant pool support. 1255 // No embedded constant pool support.
1260 UNREACHABLE(); 1256 UNREACHABLE();
1261 } 1257 }
1262 1258
1263 // Read/patch instructions 1259 // Read/patch instructions
1264 SixByteInstr instr_at(int pos) { 1260 SixByteInstr instr_at(int pos) {
1265 return Instruction::InstructionBits(buffer_ + pos); 1261 return Instruction::InstructionBits(buffer_ + pos);
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
1441 void print(Label* L); 1437 void print(Label* L);
1442 int max_reach_from(int pos); 1438 int max_reach_from(int pos);
1443 void bind_to(Label* L, int pos); 1439 void bind_to(Label* L, int pos);
1444 void next(Label* L); 1440 void next(Label* L);
1445 1441
1446 friend class RegExpMacroAssemblerS390; 1442 friend class RegExpMacroAssemblerS390;
1447 friend class RelocInfo; 1443 friend class RelocInfo;
1448 friend class CodePatcher; 1444 friend class CodePatcher;
1449 1445
1450 List<Handle<Code> > code_targets_; 1446 List<Handle<Code> > code_targets_;
1451
1452 AssemblerPositionsRecorder positions_recorder_;
1453 friend class AssemblerPositionsRecorder;
1454 friend class EnsureSpace; 1447 friend class EnsureSpace;
1455 }; 1448 };
1456 1449
1457 class EnsureSpace BASE_EMBEDDED { 1450 class EnsureSpace BASE_EMBEDDED {
1458 public: 1451 public:
1459 explicit EnsureSpace(Assembler* assembler) { assembler->CheckBuffer(); } 1452 explicit EnsureSpace(Assembler* assembler) { assembler->CheckBuffer(); }
1460 }; 1453 };
1461 1454
1462 } // namespace internal 1455 } // namespace internal
1463 } // namespace v8 1456 } // namespace v8
1464 1457
1465 #endif // V8_S390_ASSEMBLER_S390_H_ 1458 #endif // V8_S390_ASSEMBLER_S390_H_
OLDNEW
« no previous file with comments | « src/ppc/assembler-ppc.cc ('k') | src/s390/assembler-s390.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698