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

Unified Diff: src/a64/code-stubs-a64.cc

Issue 148883002: Synchronize with r15594. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/a64
Patch Set: Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « samples/shell.cc ('k') | src/a64/ic-a64.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/a64/code-stubs-a64.cc
diff --git a/src/a64/code-stubs-a64.cc b/src/a64/code-stubs-a64.cc
index 02ee787be9b905b34ce999fb770aecc77cffab4b..9e5b5a5e1e245d38aebe1366a47df702ab702f63 100644
--- a/src/a64/code-stubs-a64.cc
+++ b/src/a64/code-stubs-a64.cc
@@ -2897,7 +2897,8 @@ void FunctionPrototypeStub::Generate(MacroAssembler* masm) {
StubCompiler::GenerateLoadFunctionPrototype(masm, receiver, x10, x11, &miss);
__ Bind(&miss);
- StubCompiler::TailCallBuiltin(masm, StubCompiler::MissBuiltin(kind()));
+ StubCompiler::TailCallBuiltin(masm,
+ BaseLoadStoreStubCompiler::MissBuiltin(kind()));
}
@@ -2929,7 +2930,8 @@ void StringLengthStub::Generate(MacroAssembler* masm) {
support_wrapper_);
__ Bind(&miss);
- StubCompiler::TailCallBuiltin(masm, StubCompiler::MissBuiltin(kind()));
+ StubCompiler::TailCallBuiltin(masm,
+ BaseLoadStoreStubCompiler::MissBuiltin(kind()));
}
@@ -2999,7 +3001,8 @@ void StoreArrayLengthStub::Generate(MacroAssembler* masm) {
__ TailCallExternalReference(ref, 2, 1);
__ Bind(&miss);
- StubCompiler::TailCallBuiltin(masm, StubCompiler::MissBuiltin(kind()));
+ StubCompiler::TailCallBuiltin(masm,
+ BaseLoadStoreStubCompiler::MissBuiltin(kind()));
}
@@ -6816,7 +6819,7 @@ static void CreateArrayDispatchOneArgument(MacroAssembler* masm) {
// TODO(jbramley): Tag and store at the same time.
__ SmiTag(x10, kind);
__ Ldr(x11, FieldMemOperand(type_info_cell, Cell::kValueOffset));
- __ Str(x10, FieldMemOperand(x11, AllocationSite::kPayloadOffset));
+ __ Str(x10, FieldMemOperand(x11, AllocationSite::kTransitionInfoOffset));
__ Bind(&normal_sequence);
int last_index = GetSequenceIndexFromFastElementsKind(
@@ -6924,14 +6927,13 @@ void ArrayConstructorStub::Generate(MacroAssembler* masm) {
// The type cell may have undefined in its value.
__ JumpIfRoot(kind, Heap::kUndefinedValueRootIndex, &no_info);
- // We should have an allocation site object
- if (FLAG_debug_code) {
- __ Ldr(x10, FieldMemOperand(kind, AllocationSite::kMapOffset));
- __ CompareRoot(x10, Heap::kAllocationSiteMapRootIndex);
- __ Assert(eq, "Expected AllocationSite object.");
- }
+ // The type cell has either an AllocationSite or a JSFunction.
+ __ Ldr(x10, FieldMemOperand(kind, AllocationSite::kMapOffset));
+ __ JumpIfNotRoot(x10, Heap::kAllocationSiteMapRootIndex, &no_info);
- __ Ldrsw(kind, UntagSmiFieldMemOperand(kind, AllocationSite::kPayloadOffset));
+ __ Ldrsw(kind,
+ UntagSmiFieldMemOperand(kind,
+ AllocationSite::kTransitionInfoOffset));
__ B(&switch_ready);
__ Bind(&no_info);
« no previous file with comments | « samples/shell.cc ('k') | src/a64/ic-a64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698