v8
3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
|
#include <stdlib.h>
#include "v8.h"
#include "debug.h"
#include "disasm.h"
#include "disassembler.h"
#include "macro-assembler.h"
#include "serialize.h"
#include "cctest.h"
Go to the source code of this file.
Macros | |
#define | SET_UP() |
#define | COMPARE(asm_, compare_string) |
#define | VERIFY_RUN() |
Functions | |
bool | DisassembleAndCompare (byte *pc, const char *compare_string) |
TEST (Type0) | |
#define COMPARE | ( | asm_, | |
compare_string | |||
) |
Definition at line 79 of file test-disasm-mips.cc.
Referenced by TEST().
#define SET_UP | ( | ) |
Definition at line 66 of file test-disasm-mips.cc.
Referenced by TEST().
#define VERIFY_RUN | ( | ) |
Definition at line 90 of file test-disasm-mips.cc.
Referenced by TEST().
bool DisassembleAndCompare | ( | byte * | pc, |
const char * | compare_string | ||
) |
Definition at line 43 of file test-disasm-mips.cc.
References Disassembler::InstructionDecode(), and Vector< T >::start().
TEST | ( | Type0 | ) |
Definition at line 96 of file test-disasm-mips.cc.
References COMPARE, v8::internal::fp, kLoongson, kMips32r2, v8::internal::s0, v8::internal::s1, v8::internal::s2, v8::internal::s6, v8::internal::s7, SET_UP, and VERIFY_RUN.