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

Unified Diff: src/compiler/js-builtin-reducer.h

Issue 2479563003: [compiler] Delete extra map check in StringIterator. (Closed)
Patch Set: Use native_context() in unittest. Created 4 years, 1 month 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/compiler/js-builtin-reducer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/js-builtin-reducer.h
diff --git a/src/compiler/js-builtin-reducer.h b/src/compiler/js-builtin-reducer.h
index cc749010c5a54fc6fcd74cb2de36a3f8f4e3a378..76165f0c03da11f9b906ee7644d6185be210761a 100644
--- a/src/compiler/js-builtin-reducer.h
+++ b/src/compiler/js-builtin-reducer.h
@@ -38,7 +38,8 @@ class V8_EXPORT_PRIVATE JSBuiltinReducer final
typedef base::Flags<Flag> Flags;
JSBuiltinReducer(Editor* editor, JSGraph* jsgraph, Flags flags,
- CompilationDependencies* dependencies);
+ CompilationDependencies* dependencies,
+ Handle<Context> native_context);
~JSBuiltinReducer() final {}
Reduction Reduce(Node* node) final;
@@ -104,6 +105,7 @@ class V8_EXPORT_PRIVATE JSBuiltinReducer final
Factory* factory() const;
JSGraph* jsgraph() const { return jsgraph_; }
Isolate* isolate() const;
+ Handle<Context> native_context() const { return native_context_; }
CommonOperatorBuilder* common() const;
SimplifiedOperatorBuilder* simplified() const;
JSOperatorBuilder* javascript() const;
@@ -112,6 +114,7 @@ class V8_EXPORT_PRIVATE JSBuiltinReducer final
CompilationDependencies* const dependencies_;
Flags const flags_;
JSGraph* const jsgraph_;
+ Handle<Context> const native_context_;
TypeCache const& type_cache_;
};
« no previous file with comments | « no previous file | src/compiler/js-builtin-reducer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698