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

Unified Diff: src/arm64/builtins-arm64.cc

Issue 1506683004: Free one bit in Map by removing unused retaining counter. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years 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/arm/builtins-arm.cc ('k') | src/heap/heap.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/arm64/builtins-arm64.cc
diff --git a/src/arm64/builtins-arm64.cc b/src/arm64/builtins-arm64.cc
index 2c7aaaef0dfa5edc5920b4b75e9bfbf2c86644ac..0e2ae07ba39d899204c563193edda72223222e33 100644
--- a/src/arm64/builtins-arm64.cc
+++ b/src/arm64/builtins-arm64.cc
@@ -427,11 +427,11 @@ static void Generate_JSConstructStubHelper(MacroAssembler* masm,
FieldMemOperand(init_map, Map::kBitField3Offset);
// Check if slack tracking is enabled.
__ Ldr(x11, bit_field3);
- __ DecodeField<Map::Counter>(constructon_count, x11);
+ __ DecodeField<Map::ConstructionCounter>(constructon_count, x11);
__ Cmp(constructon_count, Operand(Map::kSlackTrackingCounterEnd));
__ B(lt, &no_inobject_slack_tracking);
// Decrease generous allocation count.
- __ Subs(x11, x11, Operand(1 << Map::Counter::kShift));
+ __ Subs(x11, x11, Operand(1 << Map::ConstructionCounter::kShift));
__ Str(x11, bit_field3);
// Allocate object with a slack.
« no previous file with comments | « src/arm/builtins-arm.cc ('k') | src/heap/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698