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

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

Issue 11744020: Rename RelocInfo::NONE to RelocInfo::NONE32. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 11 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/mips/assembler-mips.cc ('k') | src/mips/builtins-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 1
2 // Copyright (c) 1994-2006 Sun Microsystems Inc. 2 // Copyright (c) 1994-2006 Sun Microsystems Inc.
3 // All Rights Reserved. 3 // All Rights Reserved.
4 // 4 //
5 // Redistribution and use in source and binary forms, with or without 5 // Redistribution and use in source and binary forms, with or without
6 // modification, are permitted provided that the following conditions are 6 // modification, are permitted provided that the following conditions are
7 // met: 7 // met:
8 // 8 //
9 // - Redistributions of source code must retain the above copyright notice, 9 // - Redistributions of source code must retain the above copyright notice,
10 // this list of conditions and the following disclaimer. 10 // this list of conditions and the following disclaimer.
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 Operand::Operand(const ExternalReference& f) { 59 Operand::Operand(const ExternalReference& f) {
60 rm_ = no_reg; 60 rm_ = no_reg;
61 imm32_ = reinterpret_cast<int32_t>(f.address()); 61 imm32_ = reinterpret_cast<int32_t>(f.address());
62 rmode_ = RelocInfo::EXTERNAL_REFERENCE; 62 rmode_ = RelocInfo::EXTERNAL_REFERENCE;
63 } 63 }
64 64
65 65
66 Operand::Operand(Smi* value) { 66 Operand::Operand(Smi* value) {
67 rm_ = no_reg; 67 rm_ = no_reg;
68 imm32_ = reinterpret_cast<intptr_t>(value); 68 imm32_ = reinterpret_cast<intptr_t>(value);
69 rmode_ = RelocInfo::NONE; 69 rmode_ = RelocInfo::NONE32;
70 } 70 }
71 71
72 72
73 Operand::Operand(Register rm) { 73 Operand::Operand(Register rm) {
74 rm_ = rm; 74 rm_ = rm;
75 } 75 }
76 76
77 77
78 bool Operand::is_reg() const { 78 bool Operand::is_reg() const {
79 return rm_.is_valid(); 79 return rm_.is_valid();
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after
389 } 389 }
390 *reinterpret_cast<Instr*>(pc_) = x; 390 *reinterpret_cast<Instr*>(pc_) = x;
391 pc_ += kInstrSize; 391 pc_ += kInstrSize;
392 CheckTrampolinePoolQuick(); 392 CheckTrampolinePoolQuick();
393 } 393 }
394 394
395 395
396 } } // namespace v8::internal 396 } } // namespace v8::internal
397 397
398 #endif // V8_MIPS_ASSEMBLER_MIPS_INL_H_ 398 #endif // V8_MIPS_ASSEMBLER_MIPS_INL_H_
OLDNEW
« no previous file with comments | « src/mips/assembler-mips.cc ('k') | src/mips/builtins-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698