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

Side by Side Diff: src/hydrogen.h

Issue 10032029: Eliminate redundant array bound checks (checks already performed earlier in the DT). (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 8 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') | src/hydrogen.cc » ('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 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 void InsertRepresentationChanges(); 258 void InsertRepresentationChanges();
259 void MarkDeoptimizeOnUndefined(); 259 void MarkDeoptimizeOnUndefined();
260 void ComputeMinusZeroChecks(); 260 void ComputeMinusZeroChecks();
261 bool ProcessArgumentsObject(); 261 bool ProcessArgumentsObject();
262 void EliminateRedundantPhis(); 262 void EliminateRedundantPhis();
263 void EliminateUnreachablePhis(); 263 void EliminateUnreachablePhis();
264 void Canonicalize(); 264 void Canonicalize();
265 void OrderBlocks(); 265 void OrderBlocks();
266 void AssignDominators(); 266 void AssignDominators();
267 void ReplaceCheckedValues(); 267 void ReplaceCheckedValues();
268 void EliminateRedundantChecks();
268 void PropagateDeoptimizingMark(); 269 void PropagateDeoptimizingMark();
269 270
270 // Returns false if there are phi-uses of the arguments-object 271 // Returns false if there are phi-uses of the arguments-object
271 // which are not supported by the optimizing compiler. 272 // which are not supported by the optimizing compiler.
272 bool CheckArgumentsPhiUses(); 273 bool CheckArgumentsPhiUses();
273 274
274 // Returns false if there are phi-uses of an uninitialized const 275 // Returns false if there are phi-uses of an uninitialized const
275 // which are not supported by the optimizing compiler. 276 // which are not supported by the optimizing compiler.
276 bool CheckConstPhiUses(); 277 bool CheckConstPhiUses();
277 278
(...skipping 1096 matching lines...) Expand 10 before | Expand all | Expand 10 after
1374 const char* filename_; 1375 const char* filename_;
1375 HeapStringAllocator string_allocator_; 1376 HeapStringAllocator string_allocator_;
1376 StringStream trace_; 1377 StringStream trace_;
1377 int indent_; 1378 int indent_;
1378 }; 1379 };
1379 1380
1380 1381
1381 } } // namespace v8::internal 1382 } } // namespace v8::internal
1382 1383
1383 #endif // V8_HYDROGEN_H_ 1384 #endif // V8_HYDROGEN_H_
OLDNEW
« no previous file with comments | « no previous file | src/hydrogen.cc » ('j') | src/hydrogen.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698