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

Side by Side Diff: src/hydrogen.h

Issue 12491023: Remove (H|L)JSArrayLength instructions (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Cleanup 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 921 matching lines...) Expand 10 before | Expand all | Expand 10 after
932 HValue* object, 932 HValue* object,
933 HValue* key, 933 HValue* key,
934 HValue* val, 934 HValue* val,
935 HCheckMaps* mapcheck, 935 HCheckMaps* mapcheck,
936 bool is_js_array, 936 bool is_js_array,
937 ElementsKind elements_kind, 937 ElementsKind elements_kind,
938 bool is_store, 938 bool is_store,
939 KeyedAccessStoreMode store_mode, 939 KeyedAccessStoreMode store_mode,
940 Representation checked_index_representation = Representation::None()); 940 Representation checked_index_representation = Representation::None());
941 941
942 HInstruction* BuildFastArrayLengthLoad(HValue* object, HValue* typecheck);
943
944 HInstruction* BuildStoreMap(HValue* object, HValue* map, BailoutId id); 942 HInstruction* BuildStoreMap(HValue* object, HValue* map, BailoutId id);
945 HInstruction* BuildStoreMap(HValue* object, Handle<Map> map, BailoutId id); 943 HInstruction* BuildStoreMap(HValue* object, Handle<Map> map, BailoutId id);
946 944
947 class CheckBuilder { 945 class CheckBuilder {
948 public: 946 public:
949 explicit CheckBuilder(HGraphBuilder* builder); 947 explicit CheckBuilder(HGraphBuilder* builder);
950 ~CheckBuilder() { 948 ~CheckBuilder() {
951 if (!finished_) End(); 949 if (!finished_) End();
952 } 950 }
953 951
(...skipping 775 matching lines...) Expand 10 before | Expand all | Expand 10 after
1729 EmbeddedVector<char, 64> filename_; 1727 EmbeddedVector<char, 64> filename_;
1730 HeapStringAllocator string_allocator_; 1728 HeapStringAllocator string_allocator_;
1731 StringStream trace_; 1729 StringStream trace_;
1732 int indent_; 1730 int indent_;
1733 }; 1731 };
1734 1732
1735 1733
1736 } } // namespace v8::internal 1734 } } // namespace v8::internal
1737 1735
1738 #endif // V8_HYDROGEN_H_ 1736 #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