summaryrefslogtreecommitdiff
path: root/src/runtime/runtime.h
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2009-01-26 12:36:21 -0800
committerRuss Cox <rsc@golang.org>2009-01-26 12:36:21 -0800
commit74d769b28bfd9c08428f27d7c503607d64c5e53a (patch)
tree2510d5aae07204aade67d94379f589f3c9bb7738 /src/runtime/runtime.h
parent4b88babe895fa5271ea83f2d0d5e7fb6bf94856e (diff)
downloadgo-74d769b28bfd9c08428f27d7c503607d64c5e53a.tar.gz
interface speedups and fixes.
more caching, better hash functions, proper locking. fixed a bug in interface comparison too. R=ken DELTA=177 (124 added, 10 deleted, 43 changed) OCL=23491 CL=23493
Diffstat (limited to 'src/runtime/runtime.h')
-rw-r--r--src/runtime/runtime.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/runtime/runtime.h b/src/runtime/runtime.h
index 47103e253..170657d86 100644
--- a/src/runtime/runtime.h
+++ b/src/runtime/runtime.h
@@ -230,6 +230,7 @@ enum
ANOEQ,
ASTRING,
AINTER,
+ AFAKE,
Amax
};
@@ -269,6 +270,7 @@ void prints(int8*);
void printf(int8*, ...);
byte* mchr(byte*, byte, byte*);
void mcpy(byte*, byte*, uint32);
+int32 mcmp(byte*, byte*, uint32);
void mmov(byte*, byte*, uint32);
void* mal(uint32);
uint32 cmpstring(string, string);