Index: src/compiler/js-context-specialization.cc |
diff --git a/src/compiler/js-context-specialization.cc b/src/compiler/js-context-specialization.cc |
index 50f34d22f7caef546a7b11a04cdd2e048ddca371..cd8932b29895b308df24a9349f669595c20340d8 100644 |
--- a/src/compiler/js-context-specialization.cc |
+++ b/src/compiler/js-context-specialization.cc |
@@ -81,8 +81,8 @@ Reduction JSContextSpecializer::ReduceJSLoadContext(Node* node) { |
if (access.depth() == 0) { |
return Reducer::NoChange(); |
} |
- Operator* op = jsgraph_->javascript()->LoadContext(0, access.index(), |
- access.immutable()); |
+ const Operator* op = jsgraph_->javascript()->LoadContext( |
+ 0, access.index(), access.immutable()); |
node->set_op(op); |
Handle<Object> context_handle = Handle<Object>(context, info_->isolate()); |
node->ReplaceInput(0, jsgraph_->Constant(context_handle)); |
@@ -128,13 +128,14 @@ Reduction JSContextSpecializer::ReduceJSStoreContext(Node* node) { |
context = context->previous(); |
} |
- Operator* op = jsgraph_->javascript()->StoreContext(0, access.index()); |
+ const Operator* op = jsgraph_->javascript()->StoreContext(0, access.index()); |
node->set_op(op); |
Handle<Object> new_context_handle = Handle<Object>(context, info_->isolate()); |
node->ReplaceInput(0, jsgraph_->Constant(new_context_handle)); |
return Reducer::Changed(node); |
} |
-} |
-} |
-} // namespace v8::internal::compiler |
+ |
+} // namespace compiler |
+} // namespace internal |
+} // namespace v8 |