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

Side by Side Diff: src/hydrogen.h

Issue 13693004: Refactoring BuildAllocateElements. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 8 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 1026 matching lines...) Expand 10 before | Expand all | Expand 10 after
1037 HValue* BuildNewElementsCapacity(HValue* context, 1037 HValue* BuildNewElementsCapacity(HValue* context,
1038 HValue* old_capacity); 1038 HValue* old_capacity);
1039 1039
1040 void BuildNewSpaceArrayCheck(HValue* length, 1040 void BuildNewSpaceArrayCheck(HValue* length,
1041 ElementsKind kind); 1041 ElementsKind kind);
1042 1042
1043 HValue* BuildAllocateElements(HValue* context, 1043 HValue* BuildAllocateElements(HValue* context,
1044 ElementsKind kind, 1044 ElementsKind kind,
1045 HValue* capacity); 1045 HValue* capacity);
1046 1046
1047 void BuildInitializeElements(HValue* elements,
1048 ElementsKind kind,
1049 HValue* capacity);
1050
1051 HValue* BuildAllocateAndInitializeElements(HValue* context,
1052 ElementsKind kind,
1053 HValue* capacity);
1054
1047 HValue* BuildGrowElementsCapacity(HValue* object, 1055 HValue* BuildGrowElementsCapacity(HValue* object,
1048 HValue* elements, 1056 HValue* elements,
1049 ElementsKind kind, 1057 ElementsKind kind,
1050 HValue* length, 1058 HValue* length,
1051 HValue* new_capacity); 1059 HValue* new_capacity);
1052 1060
1053 void BuildFillElementsWithHole(HValue* context, 1061 void BuildFillElementsWithHole(HValue* context,
1054 HValue* elements, 1062 HValue* elements,
1055 ElementsKind elements_kind, 1063 ElementsKind elements_kind,
1056 HValue* from, 1064 HValue* from,
(...skipping 672 matching lines...) Expand 10 before | Expand all | Expand 10 after
1729 EmbeddedVector<char, 64> filename_; 1737 EmbeddedVector<char, 64> filename_;
1730 HeapStringAllocator string_allocator_; 1738 HeapStringAllocator string_allocator_;
1731 StringStream trace_; 1739 StringStream trace_;
1732 int indent_; 1740 int indent_;
1733 }; 1741 };
1734 1742
1735 1743
1736 } } // namespace v8::internal 1744 } } // namespace v8::internal
1737 1745
1738 #endif // V8_HYDROGEN_H_ 1746 #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