Index: runtime/vm/instructions_dbc.h |
diff --git a/runtime/vm/instructions_arm.h b/runtime/vm/instructions_dbc.h |
similarity index 88% |
copy from runtime/vm/instructions_arm.h |
copy to runtime/vm/instructions_dbc.h |
index 57d48244d55dcdbcafbee7f8c50877ceb7d5eb81..5eb0c6e5bf82af7df5b61430fde80c92272550d4 100644 |
--- a/runtime/vm/instructions_arm.h |
+++ b/runtime/vm/instructions_dbc.h |
@@ -1,16 +1,16 @@ |
-// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
+// Copyright (c) 2016, 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. |
-#ifndef VM_INSTRUCTIONS_ARM_H_ |
-#define VM_INSTRUCTIONS_ARM_H_ |
+#ifndef VM_INSTRUCTIONS_DBC_H_ |
+#define VM_INSTRUCTIONS_DBC_H_ |
#ifndef VM_INSTRUCTIONS_H_ |
-#error Do not include instructions_arm.h directly; use instructions.h instead. |
+#error Do not include instructions_dbc.h directly; use instructions.h instead. |
#endif |
-#include "vm/constants_arm.h" |
+#include "vm/constants_dbc.h" |
#include "vm/native_entry.h" |
#include "vm/object.h" |
@@ -99,9 +99,6 @@ class NativeCallPattern : public ValueObject { |
// Instance call that can switch from an IC call to a megamorphic call |
-// load ICData load MegamorphicCache |
-// call ICLookup stub -> call MegamorphicLookup stub |
-// call target call target |
class SwitchableCallPattern : public ValueObject { |
public: |
SwitchableCallPattern(uword pc, const Code& code); |
@@ -123,10 +120,10 @@ class ReturnPattern : public ValueObject { |
public: |
explicit ReturnPattern(uword pc); |
- // bx_lr = 1. |
- static const int kLengthInBytes = 1 * Instr::kInstrSize; |
+ static const int kLengthInBytes = 0; |
int pattern_length_in_bytes() const { |
+ UNIMPLEMENTED(); |
return kLengthInBytes; |
} |
@@ -138,4 +135,4 @@ class ReturnPattern : public ValueObject { |
} // namespace dart |
-#endif // VM_INSTRUCTIONS_ARM_H_ |
+#endif // VM_INSTRUCTIONS_DBC_H_ |