| 1 | // Copyright (c) 2017, the Dart project authors.  Please see the AUTHORS file | 
|---|
| 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. | 
|---|
| 4 |  | 
|---|
| 5 | #include "vm/malloc_hooks.h" | 
|---|
| 6 |  | 
|---|
| 7 | #include "vm/globals.h" | 
|---|
| 8 |  | 
|---|
| 9 | #if defined(HOST_ARCH_X64) | 
|---|
| 10 |  | 
|---|
| 11 | namespace dart { | 
|---|
| 12 |  | 
|---|
| 13 | #if defined(DEBUG) | 
|---|
| 14 | const intptr_t kSkipCount = 5; | 
|---|
| 15 | #elif !(defined(PRODUCT) || defined(DEBUG)) | 
|---|
| 16 | const intptr_t kSkipCount = 4; | 
|---|
| 17 | #endif | 
|---|
| 18 |  | 
|---|
| 19 | }  // namespace dart | 
|---|
| 20 |  | 
|---|
| 21 | #endif  // defined(HOST_ARCH_X64) | 
|---|
| 22 |  | 
|---|