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

Side by Side Diff: src/hydrogen.h

Issue 12700006: Replace ICStub for array.length with hydrogen stub (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Even more dead code Created 7 years, 9 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
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 903 matching lines...) Expand 10 before | Expand all | Expand 10 after
914 HInstruction* BuildUncheckedMonomorphicElementAccess( 914 HInstruction* BuildUncheckedMonomorphicElementAccess(
915 HValue* object, 915 HValue* object,
916 HValue* key, 916 HValue* key,
917 HValue* val, 917 HValue* val,
918 HCheckMaps* mapcheck, 918 HCheckMaps* mapcheck,
919 bool is_js_array, 919 bool is_js_array,
920 ElementsKind elements_kind, 920 ElementsKind elements_kind,
921 bool is_store, 921 bool is_store,
922 Representation checked_index_representation = Representation::None()); 922 Representation checked_index_representation = Representation::None());
923 923
924 HInstruction* BuildFastArrayLengthLoad(HValue* object);
925
924 HInstruction* BuildStoreMap(HValue* object, HValue* map, BailoutId id); 926 HInstruction* BuildStoreMap(HValue* object, HValue* map, BailoutId id);
925 HInstruction* BuildStoreMap(HValue* object, Handle<Map> map, BailoutId id); 927 HInstruction* BuildStoreMap(HValue* object, Handle<Map> map, BailoutId id);
926 928
927 class CheckBuilder { 929 class CheckBuilder {
928 public: 930 public:
929 CheckBuilder(HGraphBuilder* builder, BailoutId id); 931 CheckBuilder(HGraphBuilder* builder, BailoutId id);
930 ~CheckBuilder() { 932 ~CheckBuilder() {
931 if (!finished_) End(); 933 if (!finished_) End();
932 } 934 }
933 935
(...skipping 745 matching lines...) Expand 10 before | Expand all | Expand 10 after
1679 EmbeddedVector<char, 64> filename_; 1681 EmbeddedVector<char, 64> filename_;
1680 HeapStringAllocator string_allocator_; 1682 HeapStringAllocator string_allocator_;
1681 StringStream trace_; 1683 StringStream trace_;
1682 int indent_; 1684 int indent_;
1683 }; 1685 };
1684 1686
1685 1687
1686 } } // namespace v8::internal 1688 } } // namespace v8::internal
1687 1689
1688 #endif // V8_HYDROGEN_H_ 1690 #endif // V8_HYDROGEN_H_
OLDNEW
« no previous file with comments | « src/code-stubs.h ('k') | src/hydrogen.cc » ('j') | src/hydrogen.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698