mirror of
https://github.com/dart-lang/sdk
synced 2024-09-05 00:13:50 +00:00
413f60a8b6
This reverts commit a99b0f6c09
.
To fix culprit for the revert, it no longer rolls zlib, instead adds
an option to ignore clang warnings in zlib source code.
TEST=ci
Change-Id: I9a877ff0c08af961bc49fcacaad5b01f1ed0a743
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/249542
Reviewed-by: Ryan Macnak <rmacnak@google.com>
Commit-Queue: Alexander Aprelev <aam@google.com>
22 lines
509 B
C++
22 lines
509 B
C++
// Copyright (c) 2017, 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.
|
|
|
|
#include "vm/malloc_hooks.h"
|
|
|
|
#include "vm/globals.h"
|
|
|
|
#if defined(HOST_ARCH_IA32)
|
|
|
|
namespace dart {
|
|
|
|
#if defined(DEBUG)
|
|
const intptr_t kSkipCount = 7;
|
|
#elif !(defined(PRODUCT) || defined(DEBUG))
|
|
const intptr_t kSkipCount = 6;
|
|
#endif
|
|
|
|
} // namespace dart
|
|
|
|
#endif // defined(HOST_ARCH_IA32)
|