Native runtime: remove unused dependency on common/src/hash
No longer required after c8633d8bda.
This commit is contained in:
committed by
Space
parent
2a7ccb11e8
commit
ce239ccc3e
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user