| 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] =
|
|
|