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

Unified Diff: src/code-stubs.h

Issue 2188993003: [stubs] Port CreateWeakCellStub to turbofan (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix stack overflow Created 4 years, 5 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/code-stubs.h
diff --git a/src/code-stubs.h b/src/code-stubs.h
index 2d5f9619fc8ca37373cbd256d7f43474c20c831f..3152338bdb2888e4965a26f160a083080f13e88c 100644
--- a/src/code-stubs.h
+++ b/src/code-stubs.h
@@ -63,7 +63,6 @@ namespace internal {
/* HydrogenCodeStubs */ \
V(BinaryOpIC) \
V(BinaryOpWithAllocationSite) \
- V(CreateWeakCell) \
V(ElementsTransitionAndStore) \
V(FastArrayPush) \
V(FastCloneRegExp) \
@@ -99,6 +98,7 @@ namespace internal {
V(ArraySingleArgumentConstructor) \
V(ArrayNArgumentsConstructor) \
V(CreateAllocationSite) \
+ V(CreateWeakCell) \
V(StringLength) \
V(Add) \
V(Subtract) \
@@ -1214,18 +1214,16 @@ class CreateAllocationSiteStub : public TurboFanCodeStub {
DEFINE_TURBOFAN_CODE_STUB(CreateAllocationSite, TurboFanCodeStub);
};
-
-class CreateWeakCellStub : public HydrogenCodeStub {
+class CreateWeakCellStub : public TurboFanCodeStub {
public:
- explicit CreateWeakCellStub(Isolate* isolate) : HydrogenCodeStub(isolate) {}
+ explicit CreateWeakCellStub(Isolate* isolate) : TurboFanCodeStub(isolate) {}
static void GenerateAheadOfTime(Isolate* isolate);
DEFINE_CALL_INTERFACE_DESCRIPTOR(CreateWeakCell);
- DEFINE_HYDROGEN_CODE_STUB(CreateWeakCell, HydrogenCodeStub);
+ DEFINE_TURBOFAN_CODE_STUB(CreateWeakCell, TurboFanCodeStub);
};
-
class GrowArrayElementsStub : public HydrogenCodeStub {
public:
GrowArrayElementsStub(Isolate* isolate, bool is_js_array, ElementsKind kind)

Powered by Google App Engine
This is Rietveld 408576698