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

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

Issue 1236363005: Version 4.5.103.8 (cherry-pick) (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@4.5
Patch Set: Created 5 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-inl.h ('k') | src/mips64/assembler-mips64.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 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 1322 matching lines...) Expand 10 before | Expand all | Expand 10 after
1333 RelocInfoWriter reloc_info_writer; 1333 RelocInfoWriter reloc_info_writer;
1334 1334
1335 // The bound position, before this we cannot do instruction elimination. 1335 // The bound position, before this we cannot do instruction elimination.
1336 int last_bound_pos_; 1336 int last_bound_pos_;
1337 1337
1338 // Code emission. 1338 // Code emission.
1339 inline void CheckBuffer(); 1339 inline void CheckBuffer();
1340 void GrowBuffer(); 1340 void GrowBuffer();
1341 inline void emit(Instr x); 1341 inline void emit(Instr x);
1342 inline void emit(uint64_t x); 1342 inline void emit(uint64_t x);
1343 inline void CheckTrampolinePoolQuick(); 1343 inline void CheckTrampolinePoolQuick(int extra_instructions = 0);
1344 1344
1345 // Instruction generation. 1345 // Instruction generation.
1346 // We have 3 different kind of encoding layout on MIPS. 1346 // We have 3 different kind of encoding layout on MIPS.
1347 // However due to many different types of objects encoded in the same fields 1347 // However due to many different types of objects encoded in the same fields
1348 // we have quite a few aliases for each mode. 1348 // we have quite a few aliases for each mode.
1349 // Using the same structure to refer to Register and FPURegister would spare a 1349 // Using the same structure to refer to Register and FPURegister would spare a
1350 // few aliases, but mixing both does not look clean to me. 1350 // few aliases, but mixing both does not look clean to me.
1351 // Anyway we could surely implement this differently. 1351 // Anyway we could surely implement this differently.
1352 1352
1353 void GenInstrRegister(Opcode opcode, 1353 void GenInstrRegister(Opcode opcode,
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
1503 class EnsureSpace BASE_EMBEDDED { 1503 class EnsureSpace BASE_EMBEDDED {
1504 public: 1504 public:
1505 explicit EnsureSpace(Assembler* assembler) { 1505 explicit EnsureSpace(Assembler* assembler) {
1506 assembler->CheckBuffer(); 1506 assembler->CheckBuffer();
1507 } 1507 }
1508 }; 1508 };
1509 1509
1510 } } // namespace v8::internal 1510 } } // namespace v8::internal
1511 1511
1512 #endif // V8_ARM_ASSEMBLER_MIPS_H_ 1512 #endif // V8_ARM_ASSEMBLER_MIPS_H_
OLDNEW
« no previous file with comments | « src/mips/assembler-mips-inl.h ('k') | src/mips64/assembler-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698