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

No longer required after c8633d8bda.
This commit is contained in:
Svyatoslav Scherbina
2021-03-18 13:49:55 +03:00
committed by Space
parent 2a7ccb11e8
commit ce239ccc3e
3 changed files with 4 additions and 5 deletions
+1 -3
View File
@@ -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.