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() {
|
fun CompileToBitcode.includeRuntime() {
|
||||||
headersDirs += files("../common/src/hash/headers", "src/main/cpp")
|
headersDirs += files("src/main/cpp")
|
||||||
}
|
}
|
||||||
|
|
||||||
val hostName: String by project
|
val hostName: String by project
|
||||||
@@ -29,7 +29,6 @@ bitcode {
|
|||||||
create("runtime", file("src/main")) {
|
create("runtime", file("src/main")) {
|
||||||
dependsOn(
|
dependsOn(
|
||||||
":kotlin-native:dependencies:update",
|
":kotlin-native:dependencies:update",
|
||||||
":kotlin-native:common:${target}Hash",
|
|
||||||
"${target}StdAlloc",
|
"${target}StdAlloc",
|
||||||
"${target}OptAlloc",
|
"${target}OptAlloc",
|
||||||
"${target}Mimalloc",
|
"${target}Mimalloc",
|
||||||
@@ -46,7 +45,6 @@ bitcode {
|
|||||||
)
|
)
|
||||||
includeRuntime()
|
includeRuntime()
|
||||||
// TODO: Should depend on the sanitizer.
|
// TODO: Should depend on the sanitizer.
|
||||||
linkerArgs.add(project.file("../common/build/bitcode/main/$target/hash.bc").path)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
create("mimalloc") {
|
create("mimalloc") {
|
||||||
|
|||||||
@@ -18,7 +18,6 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "KAssert.h"
|
#include "KAssert.h"
|
||||||
#include "City.h"
|
|
||||||
#include "Exceptions.h"
|
#include "Exceptions.h"
|
||||||
#include "Memory.h"
|
#include "Memory.h"
|
||||||
#include "Natives.h"
|
#include "Natives.h"
|
||||||
|
|||||||
@@ -21,7 +21,6 @@
|
|||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
|
|
||||||
#include "Common.h"
|
#include "Common.h"
|
||||||
#include "Names.h"
|
|
||||||
|
|
||||||
#if KONAN_TYPE_INFO_HAS_WRITABLE_PART
|
#if KONAN_TYPE_INFO_HAS_WRITABLE_PART
|
||||||
struct WritableTypeInfo;
|
struct WritableTypeInfo;
|
||||||
@@ -30,6 +29,9 @@ struct WritableTypeInfo;
|
|||||||
struct ObjHeader;
|
struct ObjHeader;
|
||||||
struct AssociatedObjectTableRecord;
|
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.
|
// An element of sorted by hash in-place array representing methods.
|
||||||
// For systems where introspection is not needed - only open methods are in
|
// For systems where introspection is not needed - only open methods are in
|
||||||
// this table.
|
// this table.
|
||||||
|
|||||||
Reference in New Issue
Block a user