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

Unified Diff: src/code-stubs.h

Issue 2669123002: [stubs] Port CallICTrampolineStub to CodeStubAssembler. (Closed)
Patch Set: Fix the CSA verifier issue. Created 3 years, 11 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/interface-descriptors-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 070fc60edc89738b8016d92bdc4542ee9a7ef857..d67c0c911b2beae942b6f4ba1a2e409c3c0242d1 100644
--- a/src/code-stubs.h
+++ b/src/code-stubs.h
@@ -1595,10 +1595,10 @@ class StringCharAtGenerator {
DISALLOW_COPY_AND_ASSIGN(StringCharAtGenerator);
};
-class CallICTrampolineStub : public PlatformCodeStub {
+class CallICTrampolineStub : public TurboFanCodeStub {
public:
CallICTrampolineStub(Isolate* isolate, const CallICState& state)
- : PlatformCodeStub(isolate) {
+ : TurboFanCodeStub(isolate) {
minor_key_ = state.GetExtraICState();
}
@@ -1609,12 +1609,14 @@ class CallICTrampolineStub : public PlatformCodeStub {
}
protected:
+ ConvertReceiverMode convert_mode() const { return state().convert_mode(); }
+ TailCallMode tail_call_mode() const { return state().tail_call_mode(); }
CallICState state() const {
return CallICState(static_cast<ExtraICState>(minor_key_));
}
DEFINE_CALL_INTERFACE_DESCRIPTOR(CallFunctionWithFeedback);
- DEFINE_PLATFORM_CODE_STUB(CallICTrampoline, PlatformCodeStub);
+ DEFINE_TURBOFAN_CODE_STUB(CallICTrampoline, TurboFanCodeStub);
};
class DoubleToIStub : public PlatformCodeStub {
« no previous file with comments | « src/arm64/interface-descriptors-arm64.cc ('k') | src/code-stubs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698