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

Side by Side Diff: src/hydrogen.h

Issue 19367003: Reland "Turn ElementsTransitionAndStore stub into a HydrogenCodeStub". (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Add test case. 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 1058 matching lines...) Expand 10 before | Expand all | Expand 10 after
1069 ElementsKind kind, 1069 ElementsKind kind,
1070 HValue* length, 1070 HValue* length,
1071 HValue* key, 1071 HValue* key,
1072 bool is_js_array); 1072 bool is_js_array);
1073 1073
1074 HValue* BuildCopyElementsOnWrite(HValue* object, 1074 HValue* BuildCopyElementsOnWrite(HValue* object,
1075 HValue* elements, 1075 HValue* elements,
1076 ElementsKind kind, 1076 ElementsKind kind,
1077 HValue* length); 1077 HValue* length);
1078 1078
1079 void BuildTransitionElementsKind(HValue* object,
1080 HValue* map,
1081 ElementsKind from_kind,
1082 ElementsKind to_kind,
1083 bool is_jsarray);
1084
1079 HInstruction* BuildUncheckedMonomorphicElementAccess( 1085 HInstruction* BuildUncheckedMonomorphicElementAccess(
1080 HValue* object, 1086 HValue* object,
1081 HValue* key, 1087 HValue* key,
1082 HValue* val, 1088 HValue* val,
1083 HCheckMaps* mapcheck, 1089 HCheckMaps* mapcheck,
1084 bool is_js_array, 1090 bool is_js_array,
1085 ElementsKind elements_kind, 1091 ElementsKind elements_kind,
1086 bool is_store, 1092 bool is_store,
1087 LoadKeyedHoleMode load_mode, 1093 LoadKeyedHoleMode load_mode,
1088 KeyedAccessStoreMode store_mode); 1094 KeyedAccessStoreMode store_mode);
(...skipping 1001 matching lines...) Expand 10 before | Expand all | Expand 10 after
2090 EmbeddedVector<char, 64> filename_; 2096 EmbeddedVector<char, 64> filename_;
2091 HeapStringAllocator string_allocator_; 2097 HeapStringAllocator string_allocator_;
2092 StringStream trace_; 2098 StringStream trace_;
2093 int indent_; 2099 int indent_;
2094 }; 2100 };
2095 2101
2096 2102
2097 } } // namespace v8::internal 2103 } } // namespace v8::internal
2098 2104
2099 #endif // V8_HYDROGEN_H_ 2105 #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