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

Unified Diff: src/code-stubs.h

Issue 1925073002: Revert of [turbofan] Run everything after representation selection concurrently. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 8 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-factory.cc ('k') | src/code-stubs.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/code-stubs.h
diff --git a/src/code-stubs.h b/src/code-stubs.h
index f1f27279117581ba3d9b07bcc6335f367c7a617e..090f88423a70c1830dca40be5434556a10772464 100644
--- a/src/code-stubs.h
+++ b/src/code-stubs.h
@@ -57,6 +57,7 @@
V(VectorStoreIC) \
V(VectorKeyedStoreIC) \
/* HydrogenCodeStubs */ \
+ V(Allocate) \
V(ArrayNArgumentsConstructor) \
V(ArrayNoArgumentConstructor) \
V(ArraySingleArgumentConstructor) \
@@ -2749,6 +2750,23 @@
SIMD128_TYPES(SIMD128_ALLOC_STUB)
#undef SIMD128_ALLOC_STUB
+class AllocateStub final : public HydrogenCodeStub {
+ public:
+ AllocateStub(Isolate* isolate, PretenureFlag pretenure_flag)
+ : HydrogenCodeStub(isolate) {
+ set_sub_minor_key(PretenureFlagBits::encode(pretenure_flag));
+ }
+
+ PretenureFlag pretenure_flag() const {
+ return PretenureFlagBits::decode(sub_minor_key());
+ }
+
+ private:
+ typedef BitField<PretenureFlag, 0, 1> PretenureFlagBits;
+ DEFINE_CALL_INTERFACE_DESCRIPTOR(Allocate);
+ DEFINE_HYDROGEN_CODE_STUB(Allocate, HydrogenCodeStub);
+};
+
class ArrayConstructorStubBase : public HydrogenCodeStub {
public:
ArrayConstructorStubBase(Isolate* isolate,
« no previous file with comments | « src/code-factory.cc ('k') | src/code-stubs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698