mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-23 05:42:29 +00:00
Remove testonly
keyword
This commit is contained in:
parent
9be364d40a
commit
d721ff8938
31 changed files with 78 additions and 94 deletions
|
@ -25,7 +25,7 @@
|
|||
#include "test/libc/xed/lib.h"
|
||||
#include "third_party/xed/x86.h"
|
||||
|
||||
testonly dontdiscard uint8_t *unbingx86op(const char16_t *codez) {
|
||||
dontdiscard uint8_t *unbingx86op(const char16_t *codez) {
|
||||
size_t len;
|
||||
len = strlen16(codez);
|
||||
return unbingbuf(xmalloc(ROUNDUP(len, 16)), len, codez, 0x90);
|
||||
|
@ -34,7 +34,7 @@ testonly dontdiscard uint8_t *unbingx86op(const char16_t *codez) {
|
|||
/**
|
||||
* Long mode instruction length decoder.
|
||||
*/
|
||||
testonly int ild(const char16_t *codez) {
|
||||
int ild(const char16_t *codez) {
|
||||
int error;
|
||||
struct XedDecodedInst xedd;
|
||||
error = xed_instruction_length_decode(
|
||||
|
@ -46,7 +46,7 @@ testonly int ild(const char16_t *codez) {
|
|||
/**
|
||||
* Real mode instruction length decoder.
|
||||
*/
|
||||
testonly int ildreal(const char16_t *codez) {
|
||||
int ildreal(const char16_t *codez) {
|
||||
int error;
|
||||
struct XedDecodedInst xedd;
|
||||
error = xed_instruction_length_decode(
|
||||
|
@ -58,7 +58,7 @@ testonly int ildreal(const char16_t *codez) {
|
|||
/**
|
||||
* Legacy mode instruction length decoder.
|
||||
*/
|
||||
testonly int ildlegacy(const char16_t *codez) {
|
||||
int ildlegacy(const char16_t *codez) {
|
||||
int error;
|
||||
struct XedDecodedInst xedd;
|
||||
error = xed_instruction_length_decode(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue