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 | EMIT_PENDING_LITERALS() assm.CheckConstPool(true, false) |
#define | VERIFY_RUN() |
Functions | |
bool | DisassembleAndCompare (byte *pc, const char *compare_string) |
TEST (Type0) | |
TEST (Type1) | |
TEST (Type3) | |
TEST (Vfp) | |
TEST (LoadStore) | |
#define COMPARE | ( | asm_, | |
compare_string | |||
) |
Definition at line 87 of file test-disasm-arm.cc.
Referenced by TEST().
Definition at line 96 of file test-disasm-arm.cc.
Referenced by TEST().
#define SET_UP | ( | ) |
Definition at line 75 of file test-disasm-arm.cc.
Referenced by TEST().
#define VERIFY_RUN | ( | ) |
Definition at line 102 of file test-disasm-arm.cc.
Referenced by TEST().
bool DisassembleAndCompare | ( | byte * | pc, |
const char * | compare_string | ||
) |
Definition at line 52 of file test-disasm-arm.cc.
References Disassembler::InstructionDecode(), and Vector< T >::start().
TEST | ( | Type0 | ) |
Definition at line 108 of file test-disasm-arm.cc.
References v8::internal::al, v8::internal::ARMv7, v8::internal::ASR, v8::internal::cc, COMPARE, v8::internal::cs, EMIT_PENDING_LITERALS, v8::internal::eq, v8::internal::fp, v8::internal::ge, v8::internal::gt, v8::internal::hi, v8::internal::hs, v8::internal::ip, CpuFeatures::IsSupported(), v8::internal::le, v8::internal::LeaveCC, v8::internal::lo, v8::internal::lr, v8::internal::ls, v8::internal::LSL, v8::internal::LSR, v8::internal::lt, v8::internal::mi, v8::internal::ne, v8::internal::pl, v8::internal::r0, v8::internal::r1, v8::internal::r10, v8::internal::r2, v8::internal::r3, v8::internal::r4, v8::internal::r5, v8::internal::r6, v8::internal::r7, v8::internal::r8, v8::internal::r9, v8::internal::ROR, SET_UP, v8::internal::SetCC, v8::internal::sp, v8::internal::vc, VERIFY_RUN, and v8::internal::vs.
TEST | ( | Type1 | ) |
Definition at line 339 of file test-disasm-arm.cc.
References v8::internal::cc, COMPARE, v8::internal::cs, v8::internal::eq, v8::internal::LeaveCC, v8::internal::ne, v8::internal::r0, v8::internal::r1, v8::internal::r2, v8::internal::r3, v8::internal::r4, v8::internal::r5, SET_UP, v8::internal::SetCC, and VERIFY_RUN.
TEST | ( | Type3 | ) |
Definition at line 368 of file test-disasm-arm.cc.
References v8::internal::ARMv7, v8::internal::ASR, COMPARE, CpuFeatures::IsSupported(), v8::internal::lr, v8::internal::LSL, v8::internal::r0, v8::internal::r1, v8::internal::r2, v8::internal::r3, v8::internal::r4, v8::internal::r5, v8::internal::r8, SET_UP, and VERIFY_RUN.
TEST | ( | Vfp | ) |
Definition at line 423 of file test-disasm-arm.cc.
References v8::internal::cc, COMPARE, v8::internal::d0, v8::internal::d1, v8::internal::d15, v8::internal::d2, v8::internal::d3, v8::internal::d4, v8::internal::d5, v8::internal::d6, v8::internal::d7, v8::internal::eq, v8::internal::ge, v8::internal::hi, v8::internal::ia, CpuFeatures::IsSupported(), v8::internal::mi, v8::internal::ne, v8::internal::pc, v8::internal::pl, v8::internal::r0, v8::internal::r1, v8::internal::r10, v8::internal::r2, v8::internal::r3, v8::internal::r4, v8::internal::r5, v8::internal::r6, v8::internal::r7, v8::internal::r8, v8::internal::r9, v8::internal::s0, v8::internal::s1, v8::internal::s15, v8::internal::s16, v8::internal::s2, v8::internal::s3, v8::internal::s31, v8::internal::s5, SET_UP, VERIFY_RUN, and v8::internal::VFP3.
TEST | ( | LoadStore | ) |
Definition at line 556 of file test-disasm-arm.cc.
References v8::internal::ARMv7, COMPARE, v8::internal::fp, v8::internal::ip, CpuFeatures::IsSupported(), v8::internal::NegOffset, v8::internal::NegPostIndex, v8::internal::NegPreIndex, v8::internal::PostIndex, v8::internal::PreIndex, v8::internal::r0, v8::internal::r1, v8::internal::r10, v8::internal::r2, v8::internal::r3, v8::internal::r4, v8::internal::r5, v8::internal::r6, v8::internal::r7, v8::internal::r8, v8::internal::r9, SET_UP, v8::internal::sp, and VERIFY_RUN.