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

Side by Side Diff: src/frames.cc

Issue 11428137: ARM: Make use of d16-d31 when available. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebase Created 7 years, 11 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/flag-definitions.h ('k') | src/ia32/assembler-ia32.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 625 matching lines...) Expand 10 before | Expand all | Expand 10 after
636 636
637 // Visit the parameters that may be on top of the saved registers. 637 // Visit the parameters that may be on top of the saved registers.
638 if (safepoint_entry.argument_count() > 0) { 638 if (safepoint_entry.argument_count() > 0) {
639 v->VisitPointers(parameters_base, 639 v->VisitPointers(parameters_base,
640 parameters_base + safepoint_entry.argument_count()); 640 parameters_base + safepoint_entry.argument_count());
641 parameters_base += safepoint_entry.argument_count(); 641 parameters_base += safepoint_entry.argument_count();
642 } 642 }
643 643
644 // Skip saved double registers. 644 // Skip saved double registers.
645 if (safepoint_entry.has_doubles()) { 645 if (safepoint_entry.has_doubles()) {
646 // Number of doubles not known at snapshot time.
647 ASSERT(!Serializer::enabled());
646 parameters_base += DoubleRegister::NumAllocatableRegisters() * 648 parameters_base += DoubleRegister::NumAllocatableRegisters() *
647 kDoubleSize / kPointerSize; 649 kDoubleSize / kPointerSize;
648 } 650 }
649 651
650 // Visit the registers that contain pointers if any. 652 // Visit the registers that contain pointers if any.
651 if (safepoint_entry.HasRegisters()) { 653 if (safepoint_entry.HasRegisters()) {
652 for (int i = kNumSafepointRegisters - 1; i >=0; i--) { 654 for (int i = kNumSafepointRegisters - 1; i >=0; i--) {
653 if (safepoint_entry.HasRegisterAt(i)) { 655 if (safepoint_entry.HasRegisterAt(i)) {
654 int reg_stack_index = MacroAssembler::SafepointRegisterStackIndex(i); 656 int reg_stack_index = MacroAssembler::SafepointRegisterStackIndex(i);
655 v->VisitPointer(parameters_base + reg_stack_index); 657 v->VisitPointer(parameters_base + reg_stack_index);
(...skipping 810 matching lines...) Expand 10 before | Expand all | Expand 10 after
1466 ZoneList<StackFrame*> list(10, zone); 1468 ZoneList<StackFrame*> list(10, zone);
1467 for (StackFrameIterator it; !it.done(); it.Advance()) { 1469 for (StackFrameIterator it; !it.done(); it.Advance()) {
1468 StackFrame* frame = AllocateFrameCopy(it.frame(), zone); 1470 StackFrame* frame = AllocateFrameCopy(it.frame(), zone);
1469 list.Add(frame, zone); 1471 list.Add(frame, zone);
1470 } 1472 }
1471 return list.ToVector(); 1473 return list.ToVector();
1472 } 1474 }
1473 1475
1474 1476
1475 } } // namespace v8::internal 1477 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/flag-definitions.h ('k') | src/ia32/assembler-ia32.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698