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

Unified Diff: src/code-stubs.cc

Issue 866493003: Retry "Use a WeakCell in the CallIC type vector." (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: REBASE. Created 5 years, 10 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/code-stubs.h ('k') | src/code-stubs-hydrogen.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/code-stubs.cc
diff --git a/src/code-stubs.cc b/src/code-stubs.cc
index 3a15fdaabc162c341999b9a9954950259b85b283..79a5efc44e8e959231394ec2977b3d8427d4e942 100644
--- a/src/code-stubs.cc
+++ b/src/code-stubs.cc
@@ -682,6 +682,9 @@ void FastCloneShallowObjectStub::InitializeDescriptor(
void CreateAllocationSiteStub::InitializeDescriptor(CodeStubDescriptor* d) {}
+void CreateWeakCellStub::InitializeDescriptor(CodeStubDescriptor* d) {}
+
+
void RegExpConstructResultStub::InitializeDescriptor(
CodeStubDescriptor* descriptor) {
descriptor->Initialize(
@@ -741,6 +744,12 @@ void CreateAllocationSiteStub::GenerateAheadOfTime(Isolate* isolate) {
}
+void CreateWeakCellStub::GenerateAheadOfTime(Isolate* isolate) {
+ CreateWeakCellStub stub(isolate);
+ stub.GetCode();
+}
+
+
void StoreElementStub::Generate(MacroAssembler* masm) {
switch (elements_kind()) {
case FAST_ELEMENTS:
« no previous file with comments | « src/code-stubs.h ('k') | src/code-stubs-hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698