Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1128)

Unified Diff: runtime/vm/simulator_mips.cc

Issue 13575002: Mark CallLeafRuntimeStubCode as failing on Mips/Mac OS X. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/tests/vm/vm.status ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/simulator_mips.cc
===================================================================
--- runtime/vm/simulator_mips.cc (revision 20874)
+++ runtime/vm/simulator_mips.cc (working copy)
@@ -536,6 +536,7 @@
delay_slot_ = false;
break_pc_ = NULL;
break_instr_ = 0;
+ last_setjmp_buffer_ = NULL;
// Setup architecture state.
// All registers are initialized to zero to start with.
@@ -546,10 +547,16 @@
// The sp is initialized to point to the bottom (high address) of the
// allocated stack area.
registers_[SP] = StackTop();
+
+ // All double-precision registers are initialized to zero.
+ for (int i = 0; i < kNumberOfFRegisters; i++) {
+ fregisters_[i] = 0.0;
+ }
}
Simulator::~Simulator() {
+ delete[] stack_;
Isolate* isolate = Isolate::Current();
if (isolate != NULL) {
isolate->set_simulator(NULL);
@@ -1261,6 +1268,12 @@
void Simulator::InstructionDecode(Instr* instr) {
+ if (FLAG_trace_sim) {
+ const uword start = reinterpret_cast<uword>(instr);
+ const uword end = start + Instr::kInstrSize;
+ Disassembler::Disassemble(start, end);
+ }
+
switch (instr->OpcodeField()) {
case SPECIAL: {
DecodeSpecial(instr);
« no previous file with comments | « runtime/tests/vm/vm.status ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698