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

Side by Side Diff: src/hydrogen.h

Issue 6260035: Fix a bug in the placement of minus-zero checks and in GVN.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 9 years, 10 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') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 289 matching lines...) Expand 10 before | Expand all | Expand 10 after
300 bool AllowCodeMotion() const; 300 bool AllowCodeMotion() const;
301 301
302 const ZoneList<HBasicBlock*>* blocks() const { return &blocks_; } 302 const ZoneList<HBasicBlock*>* blocks() const { return &blocks_; }
303 const ZoneList<HPhi*>* phi_list() const { return phi_list_; } 303 const ZoneList<HPhi*>* phi_list() const { return phi_list_; }
304 Handle<String> debug_name() const { return info_->function()->debug_name(); } 304 Handle<String> debug_name() const { return info_->function()->debug_name(); }
305 HEnvironment* start_environment() const { return start_environment_; } 305 HEnvironment* start_environment() const { return start_environment_; }
306 306
307 void InitializeInferredTypes(); 307 void InitializeInferredTypes();
308 void InsertTypeConversions(); 308 void InsertTypeConversions();
309 void InsertRepresentationChanges(); 309 void InsertRepresentationChanges();
310 void ComputeMinusZeroChecks();
310 bool ProcessArgumentsObject(); 311 bool ProcessArgumentsObject();
311 void EliminateRedundantPhis(); 312 void EliminateRedundantPhis();
312 void Canonicalize(); 313 void Canonicalize();
313 void OrderBlocks(); 314 void OrderBlocks();
314 void AssignDominators(); 315 void AssignDominators();
315 316
316 // Returns false if there are phi-uses of the arguments-object 317 // Returns false if there are phi-uses of the arguments-object
317 // which are not supported by the optimizing compiler. 318 // which are not supported by the optimizing compiler.
318 bool CollectPhis(); 319 bool CollectPhis();
319 320
(...skipping 745 matching lines...) Expand 10 before | Expand all | Expand 10 after
1065 const char* filename_; 1066 const char* filename_;
1066 HeapStringAllocator string_allocator_; 1067 HeapStringAllocator string_allocator_;
1067 StringStream trace_; 1068 StringStream trace_;
1068 int indent_; 1069 int indent_;
1069 }; 1070 };
1070 1071
1071 1072
1072 } } // namespace v8::internal 1073 } } // namespace v8::internal
1073 1074
1074 #endif // V8_HYDROGEN_H_ 1075 #endif // V8_HYDROGEN_H_
OLDNEW
« no previous file with comments | « no previous file | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698