| 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 1253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1264 | 1264 |
| 1265 HValue* AddLoadJSBuiltin(Builtins::JavaScript builtin); | 1265 HValue* AddLoadJSBuiltin(Builtins::JavaScript builtin); |
| 1266 | 1266 |
| 1267 HValue* TruncateToNumber(HValue* value, Handle<Type>* expected); | 1267 HValue* TruncateToNumber(HValue* value, Handle<Type>* expected); |
| 1268 | 1268 |
| 1269 void PushAndAdd(HInstruction* instr); | 1269 void PushAndAdd(HInstruction* instr); |
| 1270 | 1270 |
| 1271 void FinishExitWithHardDeoptimization(const char* reason, | 1271 void FinishExitWithHardDeoptimization(const char* reason, |
| 1272 HBasicBlock* continuation); | 1272 HBasicBlock* continuation); |
| 1273 | 1273 |
| 1274 void AddIncrementCounter(StatsCounter* counter, | 1274 void AddIncrementCounter(StatsCounter* counter); |
| 1275 HValue* context); | |
| 1276 | 1275 |
| 1277 class IfBuilder V8_FINAL { | 1276 class IfBuilder V8_FINAL { |
| 1278 public: | 1277 public: |
| 1279 explicit IfBuilder(HGraphBuilder* builder, | 1278 explicit IfBuilder(HGraphBuilder* builder, |
| 1280 int position = RelocInfo::kNoPosition); | 1279 int position = RelocInfo::kNoPosition); |
| 1281 IfBuilder(HGraphBuilder* builder, | 1280 IfBuilder(HGraphBuilder* builder, |
| 1282 HIfContinuation* continuation); | 1281 HIfContinuation* continuation); |
| 1283 | 1282 |
| 1284 ~IfBuilder() { | 1283 ~IfBuilder() { |
| 1285 if (!finished_) End(); | 1284 if (!finished_) End(); |
| (...skipping 715 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2001 HValue* key, | 2000 HValue* key, |
| 2002 HValue* val, | 2001 HValue* val, |
| 2003 HValue* dependency, | 2002 HValue* dependency, |
| 2004 Handle<Map> map, | 2003 Handle<Map> map, |
| 2005 bool is_store, | 2004 bool is_store, |
| 2006 KeyedAccessStoreMode store_mode); | 2005 KeyedAccessStoreMode store_mode); |
| 2007 | 2006 |
| 2008 HValue* HandlePolymorphicElementAccess(HValue* object, | 2007 HValue* HandlePolymorphicElementAccess(HValue* object, |
| 2009 HValue* key, | 2008 HValue* key, |
| 2010 HValue* val, | 2009 HValue* val, |
| 2011 Expression* prop, | 2010 SmallMapList* maps, |
| 2012 BailoutId ast_id, | 2011 BailoutId ast_id, |
| 2013 int position, | 2012 int position, |
| 2014 bool is_store, | 2013 bool is_store, |
| 2015 KeyedAccessStoreMode store_mode, | 2014 KeyedAccessStoreMode store_mode, |
| 2016 bool* has_side_effects); | 2015 bool* has_side_effects); |
| 2017 | 2016 |
| 2018 HValue* HandleKeyedElementAccess(HValue* obj, | 2017 HValue* HandleKeyedElementAccess(HValue* obj, |
| 2019 HValue* key, | 2018 HValue* key, |
| 2020 HValue* val, | 2019 HValue* val, |
| 2021 Expression* expr, | 2020 Expression* expr, |
| (...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2301 } | 2300 } |
| 2302 | 2301 |
| 2303 private: | 2302 private: |
| 2304 HGraphBuilder* builder_; | 2303 HGraphBuilder* builder_; |
| 2305 }; | 2304 }; |
| 2306 | 2305 |
| 2307 | 2306 |
| 2308 } } // namespace v8::internal | 2307 } } // namespace v8::internal |
| 2309 | 2308 |
| 2310 #endif // V8_HYDROGEN_H_ | 2309 #endif // V8_HYDROGEN_H_ |
| OLD | NEW |