Chromium Code Reviews| Index: src/arm/virtual-frame-arm.cc |
| =================================================================== |
| --- src/arm/virtual-frame-arm.cc (revision 1784) |
| +++ src/arm/virtual-frame-arm.cc (working copy) |
| @@ -71,6 +71,16 @@ |
| } |
| +void VirtualFrame::SyncRange(int begin, int end) { |
| + // All elements are in memory on ARM (ie, synced). |
| +#ifdef DEBUG |
| + for (int i = begin; i < end; i++) { |
|
Kasper Lund
2009/04/24 11:21:22
i <= end
|
| + ASSERT(elements_[i].is_synced()); |
| + } |
| +#endif |
| +} |
| + |
| + |
| void VirtualFrame::MergeTo(VirtualFrame* expected) { |
| Comment cmnt(masm_, "[ Merge frame"); |
| // We should always be merging the code generator's current frame to an |