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

Unified Diff: src/code-stubs.h

Issue 2302923002: [stubs] Port ToName stub to TurboFan. (Closed)
Patch Set: Created 4 years, 3 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 36757c41c63c929067ad2f8f0d8efa4839276aa2..f7aca2e3cfa0ae0552d706a98300d1c4fa1c6958 100644
--- a/src/code-stubs.h
+++ b/src/code-stubs.h
@@ -42,7 +42,6 @@ namespace internal {
V(StoreElement) \
V(SubString) \
V(ToString) \
- V(ToName) \
V(StoreIC) \
V(KeyedStoreIC) \
V(KeyedLoadIC) \
@@ -161,6 +160,7 @@ namespace internal {
V(StringGreaterThanOrEqual) \
V(ToInteger) \
V(ToLength) \
+ V(ToName) \
V(HasProperty) \
V(ForInFilter) \
V(GetProperty) \
@@ -3201,12 +3201,12 @@ class ToStringStub final : public PlatformCodeStub {
DEFINE_PLATFORM_CODE_STUB(ToString, PlatformCodeStub);
};
-class ToNameStub final : public PlatformCodeStub {
+class ToNameStub final : public TurboFanCodeStub {
public:
- explicit ToNameStub(Isolate* isolate) : PlatformCodeStub(isolate) {}
+ explicit ToNameStub(Isolate* isolate) : TurboFanCodeStub(isolate) {}
DEFINE_CALL_INTERFACE_DESCRIPTOR(TypeConversion);
- DEFINE_PLATFORM_CODE_STUB(ToName, PlatformCodeStub);
+ DEFINE_TURBOFAN_UNARY_OP_CODE_STUB(ToName, TurboFanCodeStub);
};
class ToObjectStub final : public TurboFanCodeStub {
« no previous file with comments | « src/arm64/code-stubs-arm64.cc ('k') | src/code-stubs.cc » ('j') | src/code-stubs.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698