Index: runtime/vm/instructions_ia32.cc |
diff --git a/runtime/vm/instructions_ia32.cc b/runtime/vm/instructions_ia32.cc |
index 5c465dfd3203ed600e0612b07587ce94c9164820..cedaab14df2827a9f6d013c651eebfb6c1a01899 100644 |
--- a/runtime/vm/instructions_ia32.cc |
+++ b/runtime/vm/instructions_ia32.cc |
@@ -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. |
@@ -10,7 +10,7 @@ |
namespace dart { |
-bool Instruction::TestBytesWith(const int* data, int num_bytes) const { |
+bool InstructionPattern::TestBytesWith(const int* data, int num_bytes) const { |
ASSERT(data != NULL); |
const uint8_t* byte_array = reinterpret_cast<const uint8_t*>(start_); |
for (int i = 0; i < num_bytes; i++) { |
@@ -23,25 +23,25 @@ bool Instruction::TestBytesWith(const int* data, int num_bytes) const { |
} |
-uword CallOrJump::TargetAddress() const { |
+uword CallOrJumpPattern::TargetAddress() const { |
ASSERT(IsValid()); |
return start() + kLengthInBytes + *reinterpret_cast<uword*>(start() + 1); |
} |
-void CallOrJump::SetTargetAddress(uword target) const { |
+void CallOrJumpPattern::SetTargetAddress(uword target) const { |
ASSERT(IsValid()); |
*reinterpret_cast<uword*>(start() + 1) = target - start() - kLengthInBytes; |
} |
-const int* Call::pattern() const { |
+const int* CallPattern::pattern() const { |
static const int kCallPattern[kLengthInBytes] = {0xE8, -1, -1, -1, -1}; |
return kCallPattern; |
} |
-const int* Jump::pattern() const { |
+const int* JumpPattern::pattern() const { |
static const int kJumpPattern[kLengthInBytes] = {0xE9, -1, -1, -1, -1}; |
return kJumpPattern; |
} |