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

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

Issue 15012016: small misspelling fixes. (Closed) Base URL: http://v8.googlecode.com/svn/trunk/
Patch Set: Created 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/messages.js ('k') | src/mips/lithium-codegen-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 352 matching lines...) Expand 10 before | Expand all | Expand 10 after
363 private: 363 private:
364 Register rm_; 364 Register rm_;
365 int32_t imm32_; // Valid if rm_ == no_reg. 365 int32_t imm32_; // Valid if rm_ == no_reg.
366 RelocInfo::Mode rmode_; 366 RelocInfo::Mode rmode_;
367 367
368 friend class Assembler; 368 friend class Assembler;
369 friend class MacroAssembler; 369 friend class MacroAssembler;
370 }; 370 };
371 371
372 372
373 // On MIPS we have only one adressing mode with base_reg + offset. 373 // On MIPS we have only one addressing mode with base_reg + offset.
374 // Class MemOperand represents a memory operand in load and store instructions. 374 // Class MemOperand represents a memory operand in load and store instructions.
375 class MemOperand : public Operand { 375 class MemOperand : public Operand {
376 public: 376 public:
377 explicit MemOperand(Register rn, int32_t offset = 0); 377 explicit MemOperand(Register rn, int32_t offset = 0);
378 int32_t offset() const { return offset_; } 378 int32_t offset() const { return offset_; }
379 379
380 bool OffsetIsInt16Encodable() const { 380 bool OffsetIsInt16Encodable() const {
381 return is_int16(offset_); 381 return is_int16(offset_);
382 } 382 }
383 383
(...skipping 738 matching lines...) Expand 10 before | Expand all | Expand 10 after
1122 // Labels. 1122 // Labels.
1123 void print(Label* L); 1123 void print(Label* L);
1124 void bind_to(Label* L, int pos); 1124 void bind_to(Label* L, int pos);
1125 void next(Label* L); 1125 void next(Label* L);
1126 1126
1127 // One trampoline consists of: 1127 // One trampoline consists of:
1128 // - space for trampoline slots, 1128 // - space for trampoline slots,
1129 // - space for labels. 1129 // - space for labels.
1130 // 1130 //
1131 // Space for trampoline slots is equal to slot_count * 2 * kInstrSize. 1131 // Space for trampoline slots is equal to slot_count * 2 * kInstrSize.
1132 // Space for trampoline slots preceeds space for labels. Each label is of one 1132 // Space for trampoline slots preceds space for labels. Each label is of one
1133 // instruction size, so total amount for labels is equal to 1133 // instruction size, so total amount for labels is equal to
1134 // label_count * kInstrSize. 1134 // label_count * kInstrSize.
1135 class Trampoline { 1135 class Trampoline {
1136 public: 1136 public:
1137 Trampoline() { 1137 Trampoline() {
1138 start_ = 0; 1138 start_ = 0;
1139 next_slot_ = 0; 1139 next_slot_ = 0;
1140 free_slot_count_ = 0; 1140 free_slot_count_ = 0;
1141 end_ = 0; 1141 end_ = 0;
1142 } 1142 }
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
1204 class EnsureSpace BASE_EMBEDDED { 1204 class EnsureSpace BASE_EMBEDDED {
1205 public: 1205 public:
1206 explicit EnsureSpace(Assembler* assembler) { 1206 explicit EnsureSpace(Assembler* assembler) {
1207 assembler->CheckBuffer(); 1207 assembler->CheckBuffer();
1208 } 1208 }
1209 }; 1209 };
1210 1210
1211 } } // namespace v8::internal 1211 } } // namespace v8::internal
1212 1212
1213 #endif // V8_ARM_ASSEMBLER_MIPS_H_ 1213 #endif // V8_ARM_ASSEMBLER_MIPS_H_
OLDNEW
« no previous file with comments | « src/messages.js ('k') | src/mips/lithium-codegen-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698