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

Side by Side Diff: src/flag-definitions.h

Issue 10905232: Fixed bounds check removal by restricting it to int32 indexes (and reenabled both ABCR and index de… (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Added test. Created 8 years, 3 months 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | src/hydrogen.cc » ('j') | test/mjsunit/array-bounds-check-removal.js » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 DEFINE_bool(trace_representation, false, "trace representation types") 191 DEFINE_bool(trace_representation, false, "trace representation types")
192 DEFINE_bool(stress_pointer_maps, false, "pointer map for every instruction") 192 DEFINE_bool(stress_pointer_maps, false, "pointer map for every instruction")
193 DEFINE_bool(stress_environments, false, "environment for every instruction") 193 DEFINE_bool(stress_environments, false, "environment for every instruction")
194 DEFINE_int(deopt_every_n_times, 194 DEFINE_int(deopt_every_n_times,
195 0, 195 0,
196 "deoptimize every n times a deopt point is passed") 196 "deoptimize every n times a deopt point is passed")
197 DEFINE_bool(trap_on_deopt, false, "put a break point before deoptimizing") 197 DEFINE_bool(trap_on_deopt, false, "put a break point before deoptimizing")
198 DEFINE_bool(deoptimize_uncommon_cases, true, "deoptimize uncommon cases") 198 DEFINE_bool(deoptimize_uncommon_cases, true, "deoptimize uncommon cases")
199 DEFINE_bool(polymorphic_inlining, true, "polymorphic inlining") 199 DEFINE_bool(polymorphic_inlining, true, "polymorphic inlining")
200 DEFINE_bool(use_osr, true, "use on-stack replacement") 200 DEFINE_bool(use_osr, true, "use on-stack replacement")
201 DEFINE_bool(array_bounds_checks_elimination, false, 201 DEFINE_bool(array_bounds_checks_elimination, true,
202 "perform array bounds checks elimination") 202 "perform array bounds checks elimination")
203 DEFINE_bool(array_index_dehoisting, false, 203 DEFINE_bool(array_index_dehoisting, true,
204 "perform array index dehoisting") 204 "perform array index dehoisting")
205 205
206 DEFINE_bool(trace_osr, false, "trace on-stack replacement") 206 DEFINE_bool(trace_osr, false, "trace on-stack replacement")
207 DEFINE_int(stress_runs, 0, "number of stress runs") 207 DEFINE_int(stress_runs, 0, "number of stress runs")
208 DEFINE_bool(optimize_closures, true, "optimize closures") 208 DEFINE_bool(optimize_closures, true, "optimize closures")
209 DEFINE_bool(lookup_sample_by_shared, true, 209 DEFINE_bool(lookup_sample_by_shared, true,
210 "when picking a function to optimize, watch for shared function " 210 "when picking a function to optimize, watch for shared function "
211 "info, not JSFunction itself") 211 "info, not JSFunction itself")
212 DEFINE_bool(cache_optimized_code, true, 212 DEFINE_bool(cache_optimized_code, true,
213 "cache optimized code for closures") 213 "cache optimized code for closures")
(...skipping 477 matching lines...) Expand 10 before | Expand all | Expand 10 after
691 #undef DEFINE_bool 691 #undef DEFINE_bool
692 #undef DEFINE_int 692 #undef DEFINE_int
693 #undef DEFINE_string 693 #undef DEFINE_string
694 #undef DEFINE_implication 694 #undef DEFINE_implication
695 695
696 #undef FLAG_MODE_DECLARE 696 #undef FLAG_MODE_DECLARE
697 #undef FLAG_MODE_DEFINE 697 #undef FLAG_MODE_DEFINE
698 #undef FLAG_MODE_DEFINE_DEFAULTS 698 #undef FLAG_MODE_DEFINE_DEFAULTS
699 #undef FLAG_MODE_META 699 #undef FLAG_MODE_META
700 #undef FLAG_MODE_DEFINE_IMPLICATIONS 700 #undef FLAG_MODE_DEFINE_IMPLICATIONS
OLDNEW
« no previous file with comments | « no previous file | src/hydrogen.cc » ('j') | test/mjsunit/array-bounds-check-removal.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698