Sha256: 0b213f8e854a15a659237954e5e8e9b92e7cd588317dc403575190578c44540c

Contents?: true

Size: 349 Bytes

Versions: 5

Compression:

Stored size: 349 Bytes

Contents

// Copyright (c) 2013 Google Inc. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "inline_test.h"

#include <intrin.h>
#pragma intrinsic(_ReturnAddress)

bool IsFunctionInlined(void* caller_return_address) {
  return _ReturnAddress() == caller_return_address;
}

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
mt-libuv-4.1.04 ext/gyp/test/win/linker-flags/inline_test.cc
mt-libuv-4.1.03 ext/gyp/test/win/linker-flags/inline_test.cc
mt-libuv-4.1.02 ext/gyp/test/win/linker-flags/inline_test.cc
tree-sitter-0.1.0 ext/tree-sitter/tree-sitter/externals/gyp/test/win/linker-flags/inline_test.cc
tree-sitter-0.0.1 ext/tree-sitter/tree-sitter/externals/gyp/test/win/linker-flags/inline_test.cc