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

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

Issue 1276533003: [runtime] Store constructor function index on primitive maps. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 4 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
Index: src/arm64/builtins-arm64.cc
diff --git a/src/arm64/builtins-arm64.cc b/src/arm64/builtins-arm64.cc
index c147a196c6d1da6eb6dfee09878b501a649c94b2..2c07c8e7fd4504c8b07ba667ff175ad0534bda11 100644
--- a/src/arm64/builtins-arm64.cc
+++ b/src/arm64/builtins-arm64.cc
@@ -437,7 +437,9 @@ static void Generate_JSConstructStubHelper(MacroAssembler* masm,
__ Ldr(inst_sizes_or_attrs,
FieldMemOperand(init_map, Map::kInstanceSizesOffset));
__ Ubfx(inobject_props, inst_sizes_or_attrs,
- Map::kInObjectPropertiesByte * kBitsPerByte, kBitsPerByte);
+ Map::kInObjectPropertiesOrConstructorFunctionIndexOffset *
Jakob Kummerow 2015/08/11 16:01:48 You want s/Offset/Byte/ here.
+ kBitsPerByte,
+ kBitsPerByte);
__ Sub(prealloc_fields, inobject_props, unused_props);
// Calculate number of property fields in the object.
« src/arm/builtins-arm.cc ('K') | « src/arm/builtins-arm.cc ('k') | src/bootstrapper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698