Index: src/compiler/pipeline.cc |
diff --git a/src/compiler/pipeline.cc b/src/compiler/pipeline.cc |
index 2698c689c45a7e6e645f7a95a1b0fdd2c36830fa..022b6b5d1b2fb4eb24519d825f8548a2dde44d9c 100644 |
--- a/src/compiler/pipeline.cc |
+++ b/src/compiler/pipeline.cc |
@@ -542,16 +542,8 @@ |
data->info()->unoptimized_code(), |
data->info()->feedback_vector(), native_context); |
GraphReducer graph_reducer(data->graph(), temp_zone); |
- Handle<GlobalObject> global_object = Handle<GlobalObject>::null(); |
- if (data->info()->has_global_object()) { |
- global_object = |
- Handle<GlobalObject>(data->info()->global_object(), data->isolate()); |
- } |
- // TODO(titzer): introduce a specialization mode/flags enum to control |
- // specializing to the global object here. |
- JSTypeFeedbackSpecializer specializer( |
- data->jsgraph(), data->js_type_feedback(), &oracle, global_object, |
- data->info()->dependencies()); |
+ JSTypeFeedbackSpecializer specializer(data->jsgraph(), |
+ data->js_type_feedback(), &oracle); |
AddReducer(data, &graph_reducer, &specializer); |
graph_reducer.ReduceGraph(); |
} |