constpool.h
来自「linux下建立JAVA虚拟机的源码KAFFE」· C头文件 代码 · 共 41 行
H
41 行
/* constpool.h * Manage the constant pool. * * Copyright (c) 1996, 1997 * Transvirtual Technologies, Inc. All rights reserved. * * See the file "license.terms" for information on usage and redistribution * of this file. */#ifndef __jit_constpool_h#define __jit_constpool_h#define CPint 1#define CPlong 2#define CPref 3#define CPfloat 4#define CPdouble 5#define CPstring 6typedef struct _constpool { struct _constpool* next; uintp at; union _constpoolval { jint i; jlong l; void* r; float f; double d; } val;} constpool;#define ALLOCCONSTNR 32constpool* KaffeJIT_newConstant(int type, ...);void KaffeJIT_establishConstants(void *at);void KaffeJIT_resetConstants(void);uint32 KaffeJIT_getNumberOfConstants(void);#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?