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

Unified Diff: src/code-factory.h

Issue 1196213004: [turbofan] Add CodeFactory::Instanceof helper. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 6 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 | « no previous file | src/code-factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/code-factory.h
diff --git a/src/code-factory.h b/src/code-factory.h
index e26fc092fa6e647ce59faf70cd2c86a534b70e23..b473abe6741bfd897a87f315476aa1067631ff06 100644
--- a/src/code-factory.h
+++ b/src/code-factory.h
@@ -56,6 +56,8 @@ class CodeFactory final {
// Code stubs. Add methods here as needed to reduce dependency on
// code-stubs.h.
+ static Callable Instanceof(Isolate* isolate, InstanceofStub::Flags flags);
+
static Callable ToBoolean(
Isolate* isolate, ToBooleanStub::ResultMode mode,
ToBooleanStub::Types types = ToBooleanStub::Types());
« no previous file with comments | « no previous file | src/code-factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698