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

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

Issue 942123002: MIPS: Fix label position types in binding code. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 10 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 | « no previous file | src/mips/assembler-mips.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 1111 matching lines...) Expand 10 before | Expand all | Expand 10 after
1122 1122
1123 protected: 1123 protected:
1124 // Relocation for a type-recording IC has the AST id added to it. This 1124 // Relocation for a type-recording IC has the AST id added to it. This
1125 // member variable is a way to pass the information from the call site to 1125 // member variable is a way to pass the information from the call site to
1126 // the relocation info. 1126 // the relocation info.
1127 TypeFeedbackId recorded_ast_id_; 1127 TypeFeedbackId recorded_ast_id_;
1128 1128
1129 int32_t buffer_space() const { return reloc_info_writer.pos() - pc_; } 1129 int32_t buffer_space() const { return reloc_info_writer.pos() - pc_; }
1130 1130
1131 // Decode branch instruction at pos and return branch target pos. 1131 // Decode branch instruction at pos and return branch target pos.
1132 int target_at(int32_t pos, bool is_internal); 1132 int target_at(int pos, bool is_internal);
1133 1133
1134 // Patch branch instruction at pos to branch to given branch target pos. 1134 // Patch branch instruction at pos to branch to given branch target pos.
1135 void target_at_put(int32_t pos, int32_t target_pos, bool is_internal); 1135 void target_at_put(int pos, int target_pos, bool is_internal);
1136 1136
1137 // Say if we need to relocate with this mode. 1137 // Say if we need to relocate with this mode.
1138 bool MustUseReg(RelocInfo::Mode rmode); 1138 bool MustUseReg(RelocInfo::Mode rmode);
1139 1139
1140 // Record reloc info for current pc_. 1140 // Record reloc info for current pc_.
1141 void RecordRelocInfo(RelocInfo::Mode rmode, intptr_t data = 0); 1141 void RecordRelocInfo(RelocInfo::Mode rmode, intptr_t data = 0);
1142 1142
1143 // Block the emission of the trampoline pool before pc_offset. 1143 // Block the emission of the trampoline pool before pc_offset.
1144 void BlockTrampolinePoolBefore(int pc_offset) { 1144 void BlockTrampolinePoolBefore(int pc_offset) {
1145 if (no_trampoline_pool_before_ < pc_offset) 1145 if (no_trampoline_pool_before_ < pc_offset)
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
1387 class EnsureSpace BASE_EMBEDDED { 1387 class EnsureSpace BASE_EMBEDDED {
1388 public: 1388 public:
1389 explicit EnsureSpace(Assembler* assembler) { 1389 explicit EnsureSpace(Assembler* assembler) {
1390 assembler->CheckBuffer(); 1390 assembler->CheckBuffer();
1391 } 1391 }
1392 }; 1392 };
1393 1393
1394 } } // namespace v8::internal 1394 } } // namespace v8::internal
1395 1395
1396 #endif // V8_ARM_ASSEMBLER_MIPS_H_ 1396 #endif // V8_ARM_ASSEMBLER_MIPS_H_
OLDNEW
« no previous file with comments | « no previous file | src/mips/assembler-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698