| OLD | NEW |
| 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 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 262 bool ProcessArgumentsObject(); | 262 bool ProcessArgumentsObject(); |
| 263 void EliminateRedundantPhis(); | 263 void EliminateRedundantPhis(); |
| 264 void EliminateUnreachablePhis(); | 264 void EliminateUnreachablePhis(); |
| 265 void Canonicalize(); | 265 void Canonicalize(); |
| 266 void OrderBlocks(); | 266 void OrderBlocks(); |
| 267 void AssignDominators(); | 267 void AssignDominators(); |
| 268 void ReplaceCheckedValues(); | 268 void ReplaceCheckedValues(); |
| 269 void EliminateRedundantBoundsChecks(); | 269 void EliminateRedundantBoundsChecks(); |
| 270 void DehoistSimpleArrayIndexComputations(); | 270 void DehoistSimpleArrayIndexComputations(); |
| 271 void PropagateDeoptimizingMark(); | 271 void PropagateDeoptimizingMark(); |
| 272 void EliminateUnusedInstructions(); |
| 272 | 273 |
| 273 // Returns false if there are phi-uses of the arguments-object | 274 // Returns false if there are phi-uses of the arguments-object |
| 274 // which are not supported by the optimizing compiler. | 275 // which are not supported by the optimizing compiler. |
| 275 bool CheckArgumentsPhiUses(); | 276 bool CheckArgumentsPhiUses(); |
| 276 | 277 |
| 277 // Returns false if there are phi-uses of an uninitialized const | 278 // Returns false if there are phi-uses of an uninitialized const |
| 278 // which are not supported by the optimizing compiler. | 279 // which are not supported by the optimizing compiler. |
| 279 bool CheckConstPhiUses(); | 280 bool CheckConstPhiUses(); |
| 280 | 281 |
| 281 void CollectPhis(); | 282 void CollectPhis(); |
| (...skipping 927 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1209 | 1210 |
| 1210 HValue* BuildContextChainWalk(Variable* var); | 1211 HValue* BuildContextChainWalk(Variable* var); |
| 1211 | 1212 |
| 1212 HInstruction* BuildThisFunction(); | 1213 HInstruction* BuildThisFunction(); |
| 1213 | 1214 |
| 1214 void AddCheckConstantFunction(Handle<JSObject> holder, | 1215 void AddCheckConstantFunction(Handle<JSObject> holder, |
| 1215 HValue* receiver, | 1216 HValue* receiver, |
| 1216 Handle<Map> receiver_map, | 1217 Handle<Map> receiver_map, |
| 1217 bool smi_and_map_check); | 1218 bool smi_and_map_check); |
| 1218 | 1219 |
| 1220 bool MatchRotateRight(HValue* left, |
| 1221 HValue* right, |
| 1222 HValue** operand, |
| 1223 HValue** shift_amount); |
| 1224 |
| 1219 Zone* zone() const { return zone_; } | 1225 Zone* zone() const { return zone_; } |
| 1220 | 1226 |
| 1221 // The translation state of the currently-being-translated function. | 1227 // The translation state of the currently-being-translated function. |
| 1222 FunctionState* function_state_; | 1228 FunctionState* function_state_; |
| 1223 | 1229 |
| 1224 // The base of the function state stack. | 1230 // The base of the function state stack. |
| 1225 FunctionState initial_function_state_; | 1231 FunctionState initial_function_state_; |
| 1226 | 1232 |
| 1227 // Expression context of the currently visited subexpression. NULL when | 1233 // Expression context of the currently visited subexpression. NULL when |
| 1228 // visiting statements. | 1234 // visiting statements. |
| (...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1486 const char* filename_; | 1492 const char* filename_; |
| 1487 HeapStringAllocator string_allocator_; | 1493 HeapStringAllocator string_allocator_; |
| 1488 StringStream trace_; | 1494 StringStream trace_; |
| 1489 int indent_; | 1495 int indent_; |
| 1490 }; | 1496 }; |
| 1491 | 1497 |
| 1492 | 1498 |
| 1493 } } // namespace v8::internal | 1499 } } // namespace v8::internal |
| 1494 | 1500 |
| 1495 #endif // V8_HYDROGEN_H_ | 1501 #endif // V8_HYDROGEN_H_ |
| OLD | NEW |