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

Side by Side Diff: src/hydrogen.h

Issue 7003054: Fix bug with GVN on array loads. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: fixed performance regression Created 9 years, 6 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-instructions.cc » ('J')
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 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 void InitializeInferredTypes(); 216 void InitializeInferredTypes();
217 void InsertTypeConversions(); 217 void InsertTypeConversions();
218 void InsertRepresentationChanges(); 218 void InsertRepresentationChanges();
219 void ComputeMinusZeroChecks(); 219 void ComputeMinusZeroChecks();
220 bool ProcessArgumentsObject(); 220 bool ProcessArgumentsObject();
221 void EliminateRedundantPhis(); 221 void EliminateRedundantPhis();
222 void EliminateUnreachablePhis(); 222 void EliminateUnreachablePhis();
223 void Canonicalize(); 223 void Canonicalize();
224 void OrderBlocks(); 224 void OrderBlocks();
225 void AssignDominators(); 225 void AssignDominators();
226 void ReplaceCheckedValues();
226 227
227 // Returns false if there are phi-uses of the arguments-object 228 // Returns false if there are phi-uses of the arguments-object
228 // which are not supported by the optimizing compiler. 229 // which are not supported by the optimizing compiler.
229 bool CollectPhis(); 230 bool CollectPhis();
230 231
231 Handle<Code> Compile(CompilationInfo* info); 232 Handle<Code> Compile(CompilationInfo* info);
232 233
233 void set_undefined_constant(HConstant* constant) { 234 void set_undefined_constant(HConstant* constant) {
234 undefined_constant_.set(constant); 235 undefined_constant_.set(constant);
235 } 236 }
(...skipping 954 matching lines...) Expand 10 before | Expand all | Expand 10 after
1190 const char* filename_; 1191 const char* filename_;
1191 HeapStringAllocator string_allocator_; 1192 HeapStringAllocator string_allocator_;
1192 StringStream trace_; 1193 StringStream trace_;
1193 int indent_; 1194 int indent_;
1194 }; 1195 };
1195 1196
1196 1197
1197 } } // namespace v8::internal 1198 } } // namespace v8::internal
1198 1199
1199 #endif // V8_HYDROGEN_H_ 1200 #endif // V8_HYDROGEN_H_
OLDNEW
« no previous file with comments | « no previous file | src/hydrogen.cc » ('j') | src/hydrogen-instructions.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698