OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 30 matching lines...) Expand all Loading... |
41 #include "hydrogen-dce.h" | 41 #include "hydrogen-dce.h" |
42 #include "hydrogen-dehoist.h" | 42 #include "hydrogen-dehoist.h" |
43 #include "hydrogen-environment-liveness.h" | 43 #include "hydrogen-environment-liveness.h" |
44 #include "hydrogen-escape-analysis.h" | 44 #include "hydrogen-escape-analysis.h" |
45 #include "hydrogen-infer-representation.h" | 45 #include "hydrogen-infer-representation.h" |
46 #include "hydrogen-infer-types.h" | 46 #include "hydrogen-infer-types.h" |
47 #include "hydrogen-load-elimination.h" | 47 #include "hydrogen-load-elimination.h" |
48 #include "hydrogen-gvn.h" | 48 #include "hydrogen-gvn.h" |
49 #include "hydrogen-mark-deoptimize.h" | 49 #include "hydrogen-mark-deoptimize.h" |
50 #include "hydrogen-mark-unreachable.h" | 50 #include "hydrogen-mark-unreachable.h" |
51 #include "hydrogen-minus-zero.h" | |
52 #include "hydrogen-osr.h" | 51 #include "hydrogen-osr.h" |
53 #include "hydrogen-range-analysis.h" | 52 #include "hydrogen-range-analysis.h" |
54 #include "hydrogen-redundant-phi.h" | 53 #include "hydrogen-redundant-phi.h" |
55 #include "hydrogen-removable-simulates.h" | 54 #include "hydrogen-removable-simulates.h" |
56 #include "hydrogen-representation-changes.h" | 55 #include "hydrogen-representation-changes.h" |
57 #include "hydrogen-sce.h" | 56 #include "hydrogen-sce.h" |
58 #include "hydrogen-uint32-analysis.h" | 57 #include "hydrogen-uint32-analysis.h" |
59 #include "lithium-allocator.h" | 58 #include "lithium-allocator.h" |
60 #include "parser.h" | 59 #include "parser.h" |
61 #include "runtime.h" | 60 #include "runtime.h" |
(...skipping 3980 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4042 // will not remove semantically meaningful ToInt32 operations e.g. BIT_OR with | 4041 // will not remove semantically meaningful ToInt32 operations e.g. BIT_OR with |
4043 // zero. | 4042 // zero. |
4044 if (FLAG_opt_safe_uint32_operations) Run<HUint32AnalysisPhase>(); | 4043 if (FLAG_opt_safe_uint32_operations) Run<HUint32AnalysisPhase>(); |
4045 | 4044 |
4046 if (FLAG_use_canonicalizing) Run<HCanonicalizePhase>(); | 4045 if (FLAG_use_canonicalizing) Run<HCanonicalizePhase>(); |
4047 | 4046 |
4048 if (FLAG_use_gvn) Run<HGlobalValueNumberingPhase>(); | 4047 if (FLAG_use_gvn) Run<HGlobalValueNumberingPhase>(); |
4049 | 4048 |
4050 if (FLAG_check_elimination) Run<HCheckEliminationPhase>(); | 4049 if (FLAG_check_elimination) Run<HCheckEliminationPhase>(); |
4051 | 4050 |
4052 if (FLAG_use_range) Run<HRangeAnalysisPhase>(); | 4051 Run<HRangeAnalysisPhase>(); |
4053 | 4052 |
4054 Run<HComputeChangeUndefinedToNaN>(); | 4053 Run<HComputeChangeUndefinedToNaN>(); |
4055 Run<HComputeMinusZeroChecksPhase>(); | |
4056 | 4054 |
4057 // Eliminate redundant stack checks on backwards branches. | 4055 // Eliminate redundant stack checks on backwards branches. |
4058 Run<HStackCheckEliminationPhase>(); | 4056 Run<HStackCheckEliminationPhase>(); |
4059 | 4057 |
4060 if (FLAG_array_bounds_checks_elimination) Run<HBoundsCheckEliminationPhase>(); | 4058 if (FLAG_array_bounds_checks_elimination) Run<HBoundsCheckEliminationPhase>(); |
4061 if (FLAG_array_bounds_checks_hoisting) Run<HBoundsCheckHoistingPhase>(); | 4059 if (FLAG_array_bounds_checks_hoisting) Run<HBoundsCheckHoistingPhase>(); |
4062 if (FLAG_array_index_dehoisting) Run<HDehoistIndexComputationsPhase>(); | 4060 if (FLAG_array_index_dehoisting) Run<HDehoistIndexComputationsPhase>(); |
4063 if (FLAG_dead_code_elimination) Run<HDeadCodeEliminationPhase>(); | 4061 if (FLAG_dead_code_elimination) Run<HDeadCodeEliminationPhase>(); |
4064 | 4062 |
4065 RestoreActualValues(); | 4063 RestoreActualValues(); |
(...skipping 7236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11302 if (ShouldProduceTraceOutput()) { | 11300 if (ShouldProduceTraceOutput()) { |
11303 isolate()->GetHTracer()->TraceHydrogen(name(), graph_); | 11301 isolate()->GetHTracer()->TraceHydrogen(name(), graph_); |
11304 } | 11302 } |
11305 | 11303 |
11306 #ifdef DEBUG | 11304 #ifdef DEBUG |
11307 graph_->Verify(false); // No full verify. | 11305 graph_->Verify(false); // No full verify. |
11308 #endif | 11306 #endif |
11309 } | 11307 } |
11310 | 11308 |
11311 } } // namespace v8::internal | 11309 } } // namespace v8::internal |
OLD | NEW |