dbg.Stop(instr);
return;
}
- if (FLAG_trace_sim) {
+ if (::v8::internal::FLAG_trace_sim) {
disasm::Disassembler dasm;
// use a reasonably large buffer
v8::internal::EmbeddedVector<char, 256> buffer;
// raw PC value and not the one used as input to arithmetic instructions.
int program_counter = get_pc();
- if (FLAG_stop_sim_at == 0) {
+ if (::v8::internal::FLAG_stop_sim_at == 0) {
// Fast version of the dispatch loop without checking whether the simulator
// should be stopping at a particular executed instruction.
while (program_counter != end_sim_pc) {
while (program_counter != end_sim_pc) {
Instr* instr = reinterpret_cast<Instr*>(program_counter);
icount_++;
- if (icount_ == FLAG_stop_sim_at) {
+ if (icount_ == ::v8::internal::FLAG_stop_sim_at) {
Debugger dbg(this);
dbg.Debug();
} else {
#include "assembler-arm-inl.h"
#include "cctest.h"
-// The test framework does not accept flags on the command line, so we set them
-namespace v8 { namespace internal {
- DECLARE_string(natives_file);
- DECLARE_bool(debug_code);
- DECLARE_bool(eliminate_jumps);
- DECLARE_bool(print_jump_elimination);
-} } // namespace v8::internal
-
using namespace v8::internal;
static v8::Persistent<v8::Context> env;
+// The test framework does not accept flags on the command line, so we set them
static void InitializeVM() {
// disable compilation of natives by specifying an empty natives file
FLAG_natives_file = "";