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

Side by Side Diff: src/hydrogen.h

Issue 892383003: emit premonomorphic ics for loads/stores in optimized code (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: rebase Created 5 years, 10 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
« no previous file with comments | « src/compiler/js-generic-lowering.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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_HYDROGEN_H_ 5 #ifndef V8_HYDROGEN_H_
6 #define V8_HYDROGEN_H_ 6 #define V8_HYDROGEN_H_
7 7
8 #include "src/v8.h" 8 #include "src/v8.h"
9 9
10 #include "src/accessors.h" 10 #include "src/accessors.h"
(...skipping 2738 matching lines...) Expand 10 before | Expand all | Expand 10 after
2749 PropertyAccessType access_type, 2749 PropertyAccessType access_type,
2750 KeyedAccessStoreMode store_mode, 2750 KeyedAccessStoreMode store_mode,
2751 bool* has_side_effects); 2751 bool* has_side_effects);
2752 2752
2753 HValue* HandleKeyedElementAccess(HValue* obj, HValue* key, HValue* val, 2753 HValue* HandleKeyedElementAccess(HValue* obj, HValue* key, HValue* val,
2754 Expression* expr, BailoutId ast_id, 2754 Expression* expr, BailoutId ast_id,
2755 BailoutId return_id, 2755 BailoutId return_id,
2756 PropertyAccessType access_type, 2756 PropertyAccessType access_type,
2757 bool* has_side_effects); 2757 bool* has_side_effects);
2758 2758
2759 HInstruction* BuildNamedGeneric(PropertyAccessType access, 2759 HInstruction* BuildNamedGeneric(PropertyAccessType access, Expression* expr,
2760 Expression* expr, 2760 HValue* object, Handle<String> name,
2761 HValue* object, 2761 HValue* value, bool is_uninitialized = false);
2762 Handle<String> name,
2763 HValue* value,
2764 bool is_uninitialized = false);
2765 2762
2766 HCheckMaps* AddCheckMap(HValue* object, Handle<Map> map); 2763 HCheckMaps* AddCheckMap(HValue* object, Handle<Map> map);
2767 2764
2768 void BuildLoad(Property* property, 2765 void BuildLoad(Property* property,
2769 BailoutId ast_id); 2766 BailoutId ast_id);
2770 void PushLoad(Property* property, 2767 void PushLoad(Property* property,
2771 HValue* object, 2768 HValue* object,
2772 HValue* key); 2769 HValue* key);
2773 2770
2774 void BuildStoreForEffect(Expression* expression, 2771 void BuildStoreForEffect(Expression* expression,
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
3032 } 3029 }
3033 3030
3034 private: 3031 private:
3035 HGraphBuilder* builder_; 3032 HGraphBuilder* builder_;
3036 }; 3033 };
3037 3034
3038 3035
3039 } } // namespace v8::internal 3036 } } // namespace v8::internal
3040 3037
3041 #endif // V8_HYDROGEN_H_ 3038 #endif // V8_HYDROGEN_H_
OLDNEW
« no previous file with comments | « src/compiler/js-generic-lowering.cc ('k') | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698