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

Unified Diff: src/code-stubs.h

Issue 2195863002: [turbofan] Stub for typeof operator. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Delete now unused untemplated DoUnaryOp 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/arm64/code-stubs-arm64.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 14c9a65ee0ccf8a752c9dda4f49b1c68da5db8da..0a55e16797d374d540fbe0e7e0856253f4a2b078 100644
--- a/src/code-stubs.h
+++ b/src/code-stubs.h
@@ -1057,15 +1057,12 @@ class NumberToStringStub final : public HydrogenCodeStub {
DEFINE_HYDROGEN_CODE_STUB(NumberToString, HydrogenCodeStub);
};
-
-class TypeofStub final : public HydrogenCodeStub {
+class TypeofStub final : public TurboFanCodeStub {
public:
- explicit TypeofStub(Isolate* isolate) : HydrogenCodeStub(isolate) {}
-
- static void GenerateAheadOfTime(Isolate* isolate);
+ explicit TypeofStub(Isolate* isolate) : TurboFanCodeStub(isolate) {}
DEFINE_CALL_INTERFACE_DESCRIPTOR(Typeof);
- DEFINE_HYDROGEN_CODE_STUB(Typeof, HydrogenCodeStub);
+ DEFINE_TURBOFAN_UNARY_OP_CODE_STUB(Typeof, TurboFanCodeStub);
};
class FastNewClosureStub : public TurboFanCodeStub {
« no previous file with comments | « src/arm64/code-stubs-arm64.cc ('k') | src/code-stubs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698