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

Unified Diff: runtime/vm/instructions_x64.cc

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/instructions_x64.h ('k') | runtime/vm/instructions_x64_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/instructions_x64.cc
diff --git a/runtime/vm/instructions_x64.cc b/runtime/vm/instructions_x64.cc
index 9843c049ab446b01f8650c7305347c4417c17688..f54e317c341457352f1b8837170c009177d684c4 100644
--- a/runtime/vm/instructions_x64.cc
+++ b/runtime/vm/instructions_x64.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,19 +23,19 @@ bool Instruction::TestBytesWith(const int* data, int num_bytes) const {
}
-uword CallOrJump::TargetAddress() const {
+uword CallOrJumpPattern::TargetAddress() const {
ASSERT(IsValid());
return *reinterpret_cast<uword*>(start() + 2);
}
-void CallOrJump::SetTargetAddress(uword target) const {
+void CallOrJumpPattern::SetTargetAddress(uword target) const {
ASSERT(IsValid());
*reinterpret_cast<uword*>(start() + 2) = target;
}
-const int* Call::pattern() const {
+const int* CallPattern::pattern() const {
// movq $target, TMP
// callq *TMP
static const int kCallPattern[kLengthInBytes] =
@@ -44,7 +44,7 @@ const int* Call::pattern() const {
}
-const int* Jump::pattern() const {
+const int* JumpPattern::pattern() const {
// movq $target, TMP
// jmpq TMP
static const int kJumpPattern[kLengthInBytes] =
« no previous file with comments | « runtime/vm/instructions_x64.h ('k') | runtime/vm/instructions_x64_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698