| 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 HValue* old_capacity); | 1264 HValue* old_capacity); |
| 1265 | 1265 |
| 1266 void BuildNewSpaceArrayCheck(HValue* length, | 1266 void BuildNewSpaceArrayCheck(HValue* length, |
| 1267 ElementsKind kind); | 1267 ElementsKind kind); |
| 1268 | 1268 |
| 1269 class JSArrayBuilder { | 1269 class JSArrayBuilder { |
| 1270 public: | 1270 public: |
| 1271 JSArrayBuilder(HGraphBuilder* builder, | 1271 JSArrayBuilder(HGraphBuilder* builder, |
| 1272 ElementsKind kind, | 1272 ElementsKind kind, |
| 1273 HValue* allocation_site_payload, | 1273 HValue* allocation_site_payload, |
| 1274 HValue* constructor_function, |
| 1274 bool disable_allocation_sites); | 1275 bool disable_allocation_sites); |
| 1275 | 1276 |
| 1276 JSArrayBuilder(HGraphBuilder* builder, | 1277 JSArrayBuilder(HGraphBuilder* builder, |
| 1277 ElementsKind kind, | 1278 ElementsKind kind, |
| 1278 HValue* constructor_function); | 1279 HValue* constructor_function); |
| 1279 | 1280 |
| 1280 HValue* AllocateEmptyArray(); | 1281 HValue* AllocateEmptyArray(); |
| 1281 HValue* AllocateArray(HValue* capacity, HValue* length_field, | 1282 HValue* AllocateArray(HValue* capacity, HValue* length_field, |
| 1282 bool fill_with_hole); | 1283 bool fill_with_hole); |
| 1283 HValue* GetElementsLocation() { return elements_location_; } | 1284 HValue* GetElementsLocation() { return elements_location_; } |
| (...skipping 763 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2047 EmbeddedVector<char, 64> filename_; | 2048 EmbeddedVector<char, 64> filename_; |
| 2048 HeapStringAllocator string_allocator_; | 2049 HeapStringAllocator string_allocator_; |
| 2049 StringStream trace_; | 2050 StringStream trace_; |
| 2050 int indent_; | 2051 int indent_; |
| 2051 }; | 2052 }; |
| 2052 | 2053 |
| 2053 | 2054 |
| 2054 } } // namespace v8::internal | 2055 } } // namespace v8::internal |
| 2055 | 2056 |
| 2056 #endif // V8_HYDROGEN_H_ | 2057 #endif // V8_HYDROGEN_H_ |
| OLD | NEW |