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

Side by Side Diff: runtime/vm/runtime_entry_test.cc

Issue 221133002: Begins work on ARM64, first assembler test. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: adds files Created 6 years, 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « runtime/vm/runtime_entry_arm64.cc ('k') | runtime/vm/service_test.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 // TODO(zra): Remove when tests are ready to enable.
6 #include "platform/globals.h"
7 #if !defined(TARGET_ARCH_ARM64)
8
5 #include "vm/runtime_entry.h" 9 #include "vm/runtime_entry.h"
6 10
7 #include "vm/object.h" 11 #include "vm/object.h"
8 #include "vm/symbols.h" 12 #include "vm/symbols.h"
9 #include "vm/verifier.h" 13 #include "vm/verifier.h"
10 14
11 namespace dart { 15 namespace dart {
12 16
13 // Add function to a class and that class to the class dictionary so that 17 // Add function to a class and that class to the class dictionary so that
14 // frame walking can be used. 18 // frame walking can be used.
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 RawObject* arg0, RawObject* arg1) { 56 RawObject* arg0, RawObject* arg1) {
53 // Ignoring overflow in the calculation below and using the internal 57 // Ignoring overflow in the calculation below and using the internal
54 // representation of Smi directly without using any handlized code. 58 // representation of Smi directly without using any handlized code.
55 intptr_t result = reinterpret_cast<intptr_t>(arg0) + 59 intptr_t result = reinterpret_cast<intptr_t>(arg0) +
56 reinterpret_cast<intptr_t>(arg1); 60 reinterpret_cast<intptr_t>(arg1);
57 return reinterpret_cast<RawObject*>(result); 61 return reinterpret_cast<RawObject*>(result);
58 } 62 }
59 END_LEAF_RUNTIME_ENTRY 63 END_LEAF_RUNTIME_ENTRY
60 64
61 } // namespace dart 65 } // namespace dart
66
67 #endif // !defined(TARGET_ARCH_ARM64)
OLDNEW
« no previous file with comments | « runtime/vm/runtime_entry_arm64.cc ('k') | runtime/vm/service_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698