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

Unified Diff: src/compiler/frame.h

Issue 2124983004: [Turbofan] Change AlignSavedCalleeRegisterSlots to AlignFrame. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase. Created 4 years, 5 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 | « src/compiler/arm/code-generator-arm.cc ('k') | src/compiler/mips/code-generator-mips.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/frame.h
diff --git a/src/compiler/frame.h b/src/compiler/frame.h
index de2ae1a3c23f57c32c3430a7e274ab0187f2f01a..8c2633113a293b550347413403b8e9a7d289bda1 100644
--- a/src/compiler/frame.h
+++ b/src/compiler/frame.h
@@ -98,15 +98,6 @@ class Frame : public ZoneObject {
return !allocated_double_registers_->IsEmpty();
}
- void AlignSavedCalleeRegisterSlots(int alignment = kDoubleSize) {
- int alignment_slots = alignment / kPointerSize;
- int delta = alignment_slots - (frame_slot_count_ & (alignment_slots - 1));
- if (delta != alignment_slots) {
- frame_slot_count_ += delta;
- }
- spill_slot_count_ += delta;
- }
-
void AllocateSavedCalleeRegisterSlots(int count) {
frame_slot_count_ += count;
}
« no previous file with comments | « src/compiler/arm/code-generator-arm.cc ('k') | src/compiler/mips/code-generator-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698