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

Side by Side Diff: src/hydrogen.h

Issue 7550006: Merge r8774 from bleeding edge to the 3.3 branch. (Closed) Base URL: http://v8.googlecode.com/svn/branches/3.3/
Patch Set: Created 9 years, 4 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 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 bool ProcessArgumentsObject(); 221 bool ProcessArgumentsObject();
222 void EliminateRedundantPhis(); 222 void EliminateRedundantPhis();
223 void EliminateUnreachablePhis(); 223 void EliminateUnreachablePhis();
224 void Canonicalize(); 224 void Canonicalize();
225 void OrderBlocks(); 225 void OrderBlocks();
226 void AssignDominators(); 226 void AssignDominators();
227 void ReplaceCheckedValues(); 227 void ReplaceCheckedValues();
228 228
229 // Returns false if there are phi-uses of the arguments-object 229 // Returns false if there are phi-uses of the arguments-object
230 // which are not supported by the optimizing compiler. 230 // which are not supported by the optimizing compiler.
231 bool CheckPhis();
232
233 // Returns false if there are phi-uses of hole values comming
234 // from uninitialized consts.
231 bool CollectPhis(); 235 bool CollectPhis();
232 236
233 Handle<Code> Compile(CompilationInfo* info); 237 Handle<Code> Compile(CompilationInfo* info);
234 238
235 void set_undefined_constant(HConstant* constant) { 239 void set_undefined_constant(HConstant* constant) {
236 undefined_constant_.set(constant); 240 undefined_constant_.set(constant);
237 } 241 }
238 HConstant* GetConstantUndefined() const { return undefined_constant_.get(); } 242 HConstant* GetConstantUndefined() const { return undefined_constant_.get(); }
239 HConstant* GetConstant1(); 243 HConstant* GetConstant1();
240 HConstant* GetConstantMinus1(); 244 HConstant* GetConstantMinus1();
(...skipping 955 matching lines...) Expand 10 before | Expand all | Expand 10 after
1196 const char* filename_; 1200 const char* filename_;
1197 HeapStringAllocator string_allocator_; 1201 HeapStringAllocator string_allocator_;
1198 StringStream trace_; 1202 StringStream trace_;
1199 int indent_; 1203 int indent_;
1200 }; 1204 };
1201 1205
1202 1206
1203 } } // namespace v8::internal 1207 } } // namespace v8::internal
1204 1208
1205 #endif // V8_HYDROGEN_H_ 1209 #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