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

Unified Diff: src/a64/stub-cache-a64.cc

Issue 148503002: A64: Synchronize with r15545. (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 | « src/a64/simulator-a64.cc ('k') | src/a64/utils-a64.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/a64/stub-cache-a64.cc
diff --git a/src/a64/stub-cache-a64.cc b/src/a64/stub-cache-a64.cc
index e8273c84c51ed254cc2e21aeb1d446886573af4c..481a4a86e5aa2a3aeb6c33a5f9a2d6415a6728b8 100644
--- a/src/a64/stub-cache-a64.cc
+++ b/src/a64/stub-cache-a64.cc
@@ -27,7 +27,7 @@
#include "v8.h"
-#if defined(V8_TARGET_ARCH_A64)
+#if V8_TARGET_ARCH_A64
#include "ic-inl.h"
#include "codegen.h"
@@ -1242,6 +1242,7 @@ class CallInterceptorCompiler BASE_EMBEDDED {
Code::ExtraICState extra_ic_state_;
};
+
void StubCompiler::GenerateTailCall(MacroAssembler* masm, Handle<Code> code) {
__ Jump(code, RelocInfo::CODE_TARGET);
}
@@ -1798,11 +1799,12 @@ Handle<Code> CallStubCompiler::CompileArrayCodeCall(
GenerateLoadFunctionFromCell(cell, function, &miss);
}
- Handle<Smi> kind(Smi::FromInt(GetInitialFastElementsKind()), isolate());
- Handle<Cell> kind_feedback_cell = isolate()->factory()->NewCell(kind);
+ Handle<AllocationSite> site = isolate()->factory()->NewAllocationSite();
+ site->set_payload(Smi::FromInt(GetInitialFastElementsKind()));
+ Handle<Cell> site_feedback_cell = isolate()->factory()->NewCell(site);
__ Mov(x0, argc);
__ Mov(x1, Operand(function));
- __ Mov(x2, Operand(kind_feedback_cell));
+ __ Mov(x2, Operand(site_feedback_cell));
ArrayConstructorStub stub(isolate());
__ TailCallStub(&stub);
@@ -3116,6 +3118,7 @@ Register* LoadStubCompiler::registers() {
return registers;
}
+
Register* KeyedLoadStubCompiler::registers() {
// receiver, name/key, scratch1, scratch2, scratch3, scratch4.
static Register registers[] = { x1, x0, x2, x3, x4, x5 };
« no previous file with comments | « src/a64/simulator-a64.cc ('k') | src/a64/utils-a64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698