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

Unified Diff: src/code-stubs.h

Issue 1860043002: [stubs] Introduce MultiplyStub. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Update. 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 ace4aae6142341012de8eb887ae2c3b1afc8b26c..716e9bdf1696e02cdef4e5c3f04186a3c46151d3 100644
--- a/src/code-stubs.h
+++ b/src/code-stubs.h
@@ -112,6 +112,7 @@ namespace internal {
V(StringLength) \
V(Add) \
V(Subtract) \
+ V(Multiply) \
V(BitwiseAnd) \
V(BitwiseOr) \
V(BitwiseXor) \
@@ -689,6 +690,14 @@ class SubtractStub final : public TurboFanCodeStub {
DEFINE_TURBOFAN_CODE_STUB(Subtract, TurboFanCodeStub);
};
+class MultiplyStub final : public TurboFanCodeStub {
+ public:
+ explicit MultiplyStub(Isolate* isolate) : TurboFanCodeStub(isolate) {}
+
+ DEFINE_CALL_INTERFACE_DESCRIPTOR(BinaryOp);
+ DEFINE_TURBOFAN_CODE_STUB(Multiply, TurboFanCodeStub);
+};
+
class BitwiseAndStub final : public TurboFanCodeStub {
public:
explicit BitwiseAndStub(Isolate* isolate) : TurboFanCodeStub(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