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

Unified Diff: runtime/vm/instructions_x64.h

Issue 9429055: Required rename on x64 platform. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/code_patcher_x64.cc ('k') | runtime/vm/instructions_x64.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/instructions_x64.h
diff --git a/runtime/vm/instructions_x64.h b/runtime/vm/instructions_x64.h
index ede362c62dd9327bc19ae5eedf098e20c257c5a3..a95b00065b1cd847e5e8b8b540c2ec5bd77a0c9d 100644
--- a/runtime/vm/instructions_x64.h
+++ b/runtime/vm/instructions_x64.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
// Classes that describe assembly patterns as used by inline caches.
@@ -20,12 +20,12 @@ class Immediate;
class RawObject;
// Abstract class for all instruction pattern classes.
-class Instruction : public ValueObject {
+class InstructionPattern : public ValueObject {
public:
- explicit Instruction(uword pc) : start_(pc) {
+ explicit InstructionPattern(uword pc) : start_(pc) {
ASSERT(pc != 0);
}
- virtual ~Instruction() {}
+ virtual ~InstructionPattern() {}
// Call to check if the instruction pattern at 'pc' match the instruction.
virtual bool IsValid() const {
@@ -48,11 +48,11 @@ class Instruction : public ValueObject {
const uword start_;
- DISALLOW_COPY_AND_ASSIGN(Instruction);
+ DISALLOW_COPY_AND_ASSIGN(InstructionPattern);
};
-class CallOrJump : public Instruction {
+class CallOrJumpPattern : public InstructionPattern {
public:
virtual int pattern_length_in_bytes() const {
return kLengthInBytes;
@@ -61,17 +61,17 @@ class CallOrJump : public Instruction {
void SetTargetAddress(uword new_target) const;
protected:
- explicit CallOrJump(uword pc) : Instruction(pc) {}
+ explicit CallOrJumpPattern(uword pc) : InstructionPattern(pc) {}
static const int kLengthInBytes = 13;
private:
- DISALLOW_COPY_AND_ASSIGN(CallOrJump);
+ DISALLOW_COPY_AND_ASSIGN(CallOrJumpPattern);
};
-class Call : public CallOrJump {
+class CallPattern : public CallOrJumpPattern {
public:
- explicit Call(uword pc) : CallOrJump(pc) {}
+ explicit CallPattern(uword pc) : CallOrJumpPattern(pc) {}
static int InstructionLength() {
return kLengthInBytes;
}
@@ -79,18 +79,18 @@ class Call : public CallOrJump {
private:
virtual const int* pattern() const;
- DISALLOW_COPY_AND_ASSIGN(Call);
+ DISALLOW_COPY_AND_ASSIGN(CallPattern);
};
-class Jump : public CallOrJump {
+class JumpPattern : public CallOrJumpPattern {
public:
- explicit Jump(uword pc) : CallOrJump(pc) {}
+ explicit JumpPattern(uword pc) : CallOrJumpPattern(pc) {}
private:
virtual const int* pattern() const;
- DISALLOW_COPY_AND_ASSIGN(Jump);
+ DISALLOW_COPY_AND_ASSIGN(JumpPattern);
};
« no previous file with comments | « runtime/vm/code_patcher_x64.cc ('k') | runtime/vm/instructions_x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698