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

Unified Diff: src/code-stubs.h

Issue 2151773002: Avoid jumping to the runtime for ForInFilter (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: remove double label Created 4 years, 5 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-stub-assembler.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 e1f0f18c0a555fcc127c507cfc29635ad67fbcfd..2062d946a8d49fa39e5a162eeef8c9161fbd0490 100644
--- a/src/code-stubs.h
+++ b/src/code-stubs.h
@@ -137,6 +137,7 @@ namespace internal {
V(ToInteger) \
V(ToLength) \
V(HasProperty) \
+ V(ForInFilter) \
V(GetProperty) \
V(LoadICTrampolineTF) \
V(LoadICTF) \
@@ -991,6 +992,14 @@ class HasPropertyStub : public TurboFanCodeStub {
DEFINE_TURBOFAN_BINARY_OP_CODE_STUB(HasProperty, TurboFanCodeStub);
};
+class ForInFilterStub : public TurboFanCodeStub {
+ public:
+ explicit ForInFilterStub(Isolate* isolate) : TurboFanCodeStub(isolate) {}
+
+ DEFINE_CALL_INTERFACE_DESCRIPTOR(ForInFilter);
+ DEFINE_TURBOFAN_BINARY_OP_CODE_STUB(ForInFilter, TurboFanCodeStub);
+};
+
// ES6 [[Get]] operation.
class GetPropertyStub : public TurboFanCodeStub {
public:
« no previous file with comments | « src/code-stub-assembler.cc ('k') | src/code-stubs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698