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

Side by Side Diff: src/hydrogen.h

Issue 18876004: Use BuildGrowElementsCapacity for the TransitionElementsKind stub. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 5 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 | « src/code-stubs-hydrogen.cc ('k') | 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 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 1360 matching lines...) Expand 10 before | Expand all | Expand 10 after
1371 // A pointer to the Fixed(Double)Array is returned. 1371 // A pointer to the Fixed(Double)Array is returned.
1372 HInnerAllocatedObject* BuildJSArrayHeader(HValue* array, 1372 HInnerAllocatedObject* BuildJSArrayHeader(HValue* array,
1373 HValue* array_map, 1373 HValue* array_map,
1374 AllocationSiteMode mode, 1374 AllocationSiteMode mode,
1375 HValue* allocation_site_payload, 1375 HValue* allocation_site_payload,
1376 HValue* length_field); 1376 HValue* length_field);
1377 1377
1378 HValue* BuildGrowElementsCapacity(HValue* object, 1378 HValue* BuildGrowElementsCapacity(HValue* object,
1379 HValue* elements, 1379 HValue* elements,
1380 ElementsKind kind, 1380 ElementsKind kind,
1381 ElementsKind new_kind,
1381 HValue* length, 1382 HValue* length,
1382 HValue* new_capacity); 1383 HValue* new_capacity);
1383 1384
1384 void BuildFillElementsWithHole(HValue* context, 1385 void BuildFillElementsWithHole(HValue* context,
1385 HValue* elements, 1386 HValue* elements,
1386 ElementsKind elements_kind, 1387 ElementsKind elements_kind,
1387 HValue* from, 1388 HValue* from,
1388 HValue* to); 1389 HValue* to);
1389 1390
1390 void BuildCopyElements(HValue* context, 1391 void BuildCopyElements(HValue* context,
(...skipping 701 matching lines...) Expand 10 before | Expand all | Expand 10 after
2092 EmbeddedVector<char, 64> filename_; 2093 EmbeddedVector<char, 64> filename_;
2093 HeapStringAllocator string_allocator_; 2094 HeapStringAllocator string_allocator_;
2094 StringStream trace_; 2095 StringStream trace_;
2095 int indent_; 2096 int indent_;
2096 }; 2097 };
2097 2098
2098 2099
2099 } } // namespace v8::internal 2100 } } // namespace v8::internal
2100 2101
2101 #endif // V8_HYDROGEN_H_ 2102 #endif // V8_HYDROGEN_H_
OLDNEW
« no previous file with comments | « src/code-stubs-hydrogen.cc ('k') | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698