提交 ce239ccc 编写于 作者: S Svyatoslav Scherbina 提交者: Space

Native runtime: remove unused dependency on common/src/hash

No longer required after c8633d8b.
上级 2a7ccb11
......@@ -19,7 +19,7 @@ googletest {
}
fun CompileToBitcode.includeRuntime() {
headersDirs += files("../common/src/hash/headers", "src/main/cpp")
headersDirs += files("src/main/cpp")
}
val hostName: String by project
......@@ -29,7 +29,6 @@ bitcode {
create("runtime", file("src/main")) {
dependsOn(
":kotlin-native:dependencies:update",
":kotlin-native:common:${target}Hash",
"${target}StdAlloc",
"${target}OptAlloc",
"${target}Mimalloc",
......@@ -46,7 +45,6 @@ bitcode {
)
includeRuntime()
// TODO: Should depend on the sanitizer.
linkerArgs.add(project.file("../common/build/bitcode/main/$target/hash.bc").path)
}
create("mimalloc") {
......
......@@ -18,7 +18,6 @@
#include <string.h>
#include "KAssert.h"
#include "City.h"
#include "Exceptions.h"
#include "Memory.h"
#include "Natives.h"
......
......@@ -21,7 +21,6 @@
#include <cstdint>
#include "Common.h"
#include "Names.h"
#if KONAN_TYPE_INFO_HAS_WRITABLE_PART
struct WritableTypeInfo;
......@@ -30,6 +29,9 @@ struct WritableTypeInfo;
struct ObjHeader;
struct AssociatedObjectTableRecord;
// Hash of open method name. Must be unique per class/scope (CityHash64 is being used).
typedef int64_t MethodNameHash;
// An element of sorted by hash in-place array representing methods.
// For systems where introspection is not needed - only open methods are in
// this table.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册