OLD | NEW |
---|---|
1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 298 matching lines...) Loading... | |
309 int32_t value; | 309 int32_t value; |
310 float svalue; | 310 float svalue; |
311 double dvalue; | 311 double dvalue; |
312 if (strcmp(arg1, "all") == 0) { | 312 if (strcmp(arg1, "all") == 0) { |
313 for (int i = 0; i < kNumRegisters; i++) { | 313 for (int i = 0; i < kNumRegisters; i++) { |
314 value = GetRegisterValue(i); | 314 value = GetRegisterValue(i); |
315 PrintF("%3s: 0x%08x %10d\n", Registers::Name(i), value, value); | 315 PrintF("%3s: 0x%08x %10d\n", Registers::Name(i), value, value); |
316 } | 316 } |
317 for (int i = 0; i < kNumVFPDoubleRegisters; i++) { | 317 for (int i = 0; i < kNumVFPDoubleRegisters; i++) { |
318 dvalue = GetVFPDoubleRegisterValue(i); | 318 dvalue = GetVFPDoubleRegisterValue(i); |
319 PrintF("%3s: %f\n", | 319 PrintF("%3s: %f \n", |
Søren Thygesen Gjesse
2011/02/17 09:59:56
Accidental edit?
Karl Klose
2011/02/21 13:34:59
Yes, removed.
| |
320 VFPRegisters::Name(i, true), dvalue); | 320 VFPRegisters::Name(i, true), dvalue); |
321 } | 321 } |
322 } else { | 322 } else { |
323 if (GetValue(arg1, &value)) { | 323 if (GetValue(arg1, &value)) { |
324 PrintF("%s: 0x%08x %d \n", arg1, value, value); | 324 PrintF("%s: 0x%08x %d \n", arg1, value, value); |
325 } else if (GetVFPSingleValue(arg1, &svalue)) { | 325 } else if (GetVFPSingleValue(arg1, &svalue)) { |
326 PrintF("%s: %f \n", arg1, svalue); | 326 PrintF("%s: %f \n", arg1, svalue); |
327 } else if (GetVFPDoubleValue(arg1, &dvalue)) { | 327 } else if (GetVFPDoubleValue(arg1, &dvalue)) { |
328 PrintF("%s: %f \n", arg1, dvalue); | 328 PrintF("%s: %f \n", arg1, dvalue); |
329 } else { | 329 } else { |
(...skipping 2793 matching lines...) Loading... | |
3123 uintptr_t address = *stack_slot; | 3123 uintptr_t address = *stack_slot; |
3124 set_register(sp, current_sp + sizeof(uintptr_t)); | 3124 set_register(sp, current_sp + sizeof(uintptr_t)); |
3125 return address; | 3125 return address; |
3126 } | 3126 } |
3127 | 3127 |
3128 } } // namespace v8::internal | 3128 } } // namespace v8::internal |
3129 | 3129 |
3130 #endif // USE_SIMULATOR | 3130 #endif // USE_SIMULATOR |
3131 | 3131 |
3132 #endif // V8_TARGET_ARCH_ARM | 3132 #endif // V8_TARGET_ARCH_ARM |
OLD | NEW |