v8
3.14.5(node0.10.28)
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 89 of file test-disasm-mips.cc.
Referenced by TEST().
#define SET_UP | ( | ) |
Definition at line 77 of file test-disasm-mips.cc.
Referenced by TEST().
#define VERIFY_RUN | ( | ) |
Definition at line 100 of file test-disasm-mips.cc.
Referenced by TEST().
bool DisassembleAndCompare | ( | byte * | pc, |
const char * | compare_string | ||
) |
Definition at line 54 of file test-disasm-mips.cc.
References Disassembler::InstructionDecode(), and Vector< T >::start().
TEST | ( | Type0 | ) |
Definition at line 106 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.