diff options
Diffstat (limited to 'deps/v8/src/compiler/typed-optimization.cc')
-rw-r--r-- | deps/v8/src/compiler/typed-optimization.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/deps/v8/src/compiler/typed-optimization.cc b/deps/v8/src/compiler/typed-optimization.cc index 0c001117dee..b77fc978594 100644 --- a/deps/v8/src/compiler/typed-optimization.cc +++ b/deps/v8/src/compiler/typed-optimization.cc @@ -21,7 +21,7 @@ namespace compiler { TypedOptimization::TypedOptimization(Editor* editor, CompilationDependencies* dependencies, JSGraph* jsgraph, - const JSHeapBroker* js_heap_broker) + JSHeapBroker* js_heap_broker) : AdvancedReducer(editor), dependencies_(dependencies), jsgraph_(jsgraph), @@ -89,8 +89,8 @@ Reduction TypedOptimization::Reduce(Node* node) { namespace { -base::Optional<MapRef> GetStableMapFromObjectType( - const JSHeapBroker* js_heap_broker, Type object_type) { +base::Optional<MapRef> GetStableMapFromObjectType(JSHeapBroker* js_heap_broker, + Type object_type) { if (object_type.IsHeapConstant()) { HeapObjectRef object = object_type.AsHeapConstant()->Ref(); MapRef object_map = object.map(); |