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

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: 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
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 2655 matching lines...) Expand 10 before | Expand all | Expand 10 after
2666 PropertyAccessType access_type, 2666 PropertyAccessType access_type,
2667 KeyedAccessStoreMode store_mode, 2667 KeyedAccessStoreMode store_mode,
2668 bool* has_side_effects); 2668 bool* has_side_effects);
2669 2669
2670 HValue* HandleKeyedElementAccess(HValue* obj, HValue* key, HValue* val, 2670 HValue* HandleKeyedElementAccess(HValue* obj, HValue* key, HValue* val,
2671 Expression* expr, BailoutId ast_id, 2671 Expression* expr, BailoutId ast_id,
2672 BailoutId return_id, 2672 BailoutId return_id,
2673 PropertyAccessType access_type, 2673 PropertyAccessType access_type,
2674 bool* has_side_effects); 2674 bool* has_side_effects);
2675 2675
2676 HInstruction* BuildNamedGeneric(PropertyAccessType access, 2676 HInstruction* BuildNamedGeneric(PropertyAccessType access, Expression* expr,
2677 Expression* expr, 2677 HValue* object, Handle<String> name,
2678 HValue* object, 2678 HValue* value, bool is_uninitialized = false);
2679 Handle<String> name,
2680 HValue* value,
2681 bool is_uninitialized = false);
2682 2679
2683 HCheckMaps* AddCheckMap(HValue* object, Handle<Map> map); 2680 HCheckMaps* AddCheckMap(HValue* object, Handle<Map> map);
2684 2681
2685 void BuildLoad(Property* property, 2682 void BuildLoad(Property* property,
2686 BailoutId ast_id); 2683 BailoutId ast_id);
2687 void PushLoad(Property* property, 2684 void PushLoad(Property* property,
2688 HValue* object, 2685 HValue* object,
2689 HValue* key); 2686 HValue* key);
2690 2687
2691 void BuildStoreForEffect(Expression* expression, 2688 void BuildStoreForEffect(Expression* expression,
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
2949 } 2946 }
2950 2947
2951 private: 2948 private:
2952 HGraphBuilder* builder_; 2949 HGraphBuilder* builder_;
2953 }; 2950 };
2954 2951
2955 2952
2956 } } // namespace v8::internal 2953 } } // namespace v8::internal
2957 2954
2958 #endif // V8_HYDROGEN_H_ 2955 #endif // V8_HYDROGEN_H_
OLDNEW
« no previous file with comments | « src/compiler/js-generic-lowering.cc ('k') | src/hydrogen.cc » ('j') | src/hydrogen.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698