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

Unified Diff: src/code-stubs.h

Issue 2227763003: [turbofan] Rewrite ToObject as TurboFan stub. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Revert "Delete hydrogen toObject" Created 4 years, 4 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/builtins/x87/builtins-x87.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 ccc8799503d105b8284f25e8913e3c5957e76cc8..ec4da53b27c85100367b240ec10dae724397bb25 100644
--- a/src/code-stubs.h
+++ b/src/code-stubs.h
@@ -3153,13 +3153,12 @@ class ToNameStub final : public PlatformCodeStub {
DEFINE_PLATFORM_CODE_STUB(ToName, PlatformCodeStub);
};
-
-class ToObjectStub final : public HydrogenCodeStub {
+class ToObjectStub final : public TurboFanCodeStub {
public:
- explicit ToObjectStub(Isolate* isolate) : HydrogenCodeStub(isolate) {}
+ explicit ToObjectStub(Isolate* isolate) : TurboFanCodeStub(isolate) {}
DEFINE_CALL_INTERFACE_DESCRIPTOR(TypeConversion);
- DEFINE_HYDROGEN_CODE_STUB(ToObject, HydrogenCodeStub);
+ DEFINE_TURBOFAN_CODE_STUB(ToObject, TurboFanCodeStub);
};
#undef DEFINE_CALL_INTERFACE_DESCRIPTOR
« no previous file with comments | « src/builtins/x87/builtins-x87.cc ('k') | src/code-stubs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698