diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2010-04-28 10:46:26 -0700 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2010-04-28 10:46:26 -0700 |
commit | 3b75f5070d491712eeaeefe5f12019e34e6b2250 (patch) | |
tree | 554825fca52ee9154ad10d689ea73c8d52bc7c71 /deps/v8/src/arm/simulator-arm.cc | |
parent | 8f79169aef6cd447ff193616e49335473eeb15ba (diff) | |
download | node-new-3b75f5070d491712eeaeefe5f12019e34e6b2250.tar.gz |
Upgrade V8 to 2.2.6
Diffstat (limited to 'deps/v8/src/arm/simulator-arm.cc')
-rw-r--r-- | deps/v8/src/arm/simulator-arm.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/deps/v8/src/arm/simulator-arm.cc b/deps/v8/src/arm/simulator-arm.cc index b44a73804b..5fe7d5f76e 100644 --- a/deps/v8/src/arm/simulator-arm.cc +++ b/deps/v8/src/arm/simulator-arm.cc @@ -541,7 +541,6 @@ void Simulator::FlushOnePage(intptr_t start, int size) { void Simulator::CheckICache(Instr* instr) { -#ifdef DEBUG intptr_t address = reinterpret_cast<intptr_t>(instr); void* page = reinterpret_cast<void*>(address & (~CachePage::kPageMask)); void* line = reinterpret_cast<void*>(address & (~CachePage::kLineMask)); @@ -560,7 +559,6 @@ void Simulator::CheckICache(Instr* instr) { memcpy(cached_line, line, CachePage::kLineLength); *cache_valid_byte = CachePage::LINE_VALID; } -#endif } @@ -2441,7 +2439,9 @@ void Simulator::DecodeType6CoprocessorIns(Instr* instr) { // Executes the current instruction. void Simulator::InstructionDecode(Instr* instr) { - CheckICache(instr); + if (v8::internal::FLAG_check_icache) { + CheckICache(instr); + } pc_modified_ = false; if (::v8::internal::FLAG_trace_sim) { disasm::NameConverter converter; |