OLD | NEW |
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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 #include "vm/globals.h" // Needed here to get TARGET_ARCH_X64. | 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_X64. |
6 #if defined(TARGET_ARCH_X64) && !defined(DART_PRECOMPILED_RUNTIME) | 6 #if defined(TARGET_ARCH_X64) |
7 | 7 |
8 #include "vm/intrinsifier.h" | 8 #include "vm/intrinsifier.h" |
9 | 9 |
10 #include "vm/assembler.h" | 10 #include "vm/assembler.h" |
11 #include "vm/dart_entry.h" | 11 #include "vm/dart_entry.h" |
12 #include "vm/flow_graph_compiler.h" | 12 #include "vm/flow_graph_compiler.h" |
13 #include "vm/instructions.h" | 13 #include "vm/instructions.h" |
14 #include "vm/object_store.h" | 14 #include "vm/object_store.h" |
15 #include "vm/regexp_assembler.h" | 15 #include "vm/regexp_assembler.h" |
16 #include "vm/symbols.h" | 16 #include "vm/symbols.h" |
(...skipping 2201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2218 void Intrinsifier::SetAsyncThreadStackTrace(Assembler* assembler) { | 2218 void Intrinsifier::SetAsyncThreadStackTrace(Assembler* assembler) { |
2219 __ movq(Address(THR, Thread::async_stack_trace_offset()), RAX); | 2219 __ movq(Address(THR, Thread::async_stack_trace_offset()), RAX); |
2220 __ LoadObject(RAX, Object::null_object()); | 2220 __ LoadObject(RAX, Object::null_object()); |
2221 __ ret(); | 2221 __ ret(); |
2222 } | 2222 } |
2223 | 2223 |
2224 #undef __ | 2224 #undef __ |
2225 | 2225 |
2226 } // namespace dart | 2226 } // namespace dart |
2227 | 2227 |
2228 #endif // defined(TARGET_ARCH_X64) && !defined(DART_PRECOMPILED_RUNTIME) | 2228 #endif // defined TARGET_ARCH_X64 |
OLD | NEW |