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

Unified Diff: src/hydrogen.h

Issue 1266983002: VectorICs: Crankshaft adaptations to deal with vector store ics. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/compiler/js-generic-lowering.cc ('k') | src/hydrogen.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/hydrogen.h
diff --git a/src/hydrogen.h b/src/hydrogen.h
index 33a4912056e16e49bd2cc116a870d03c741e7ce9..ea74caf73654084889a5345e52409d2a4185a9e3 100644
--- a/src/hydrogen.h
+++ b/src/hydrogen.h
@@ -2453,20 +2453,16 @@ class HOptimizedGraphBuilder : public HGraphBuilder, public AstVisitor {
Handle<JSFunction> caller,
const char* failure_reason);
- void HandleGlobalVariableAssignment(Variable* var,
- HValue* value,
+ void HandleGlobalVariableAssignment(Variable* var, HValue* value,
+ FeedbackVectorICSlot ic_slot,
BailoutId ast_id);
void HandlePropertyAssignment(Assignment* expr);
void HandleCompoundAssignment(Assignment* expr);
- void HandlePolymorphicNamedFieldAccess(PropertyAccessType access_type,
- Expression* expr,
- BailoutId ast_id,
- BailoutId return_id,
- HValue* object,
- HValue* value,
- SmallMapList* types,
- Handle<String> name);
+ void HandlePolymorphicNamedFieldAccess(
+ PropertyAccessType access_type, Expression* expr,
+ FeedbackVectorICSlot slot, BailoutId ast_id, BailoutId return_id,
+ HValue* object, HValue* value, SmallMapList* types, Handle<String> name);
HValue* BuildAllocateExternalElements(
ExternalArrayType array_type,
@@ -2715,7 +2711,8 @@ class HOptimizedGraphBuilder : public HGraphBuilder, public AstVisitor {
HValue* BuildNamedAccess(PropertyAccessType access, BailoutId ast_id,
BailoutId reutrn_id, Expression* expr,
- HValue* object, Handle<String> name, HValue* value,
+ FeedbackVectorICSlot slot, HValue* object,
+ Handle<String> name, HValue* value,
bool is_uninitialized = false);
void HandlePolymorphicCallNamed(Call* expr,
@@ -2751,10 +2748,8 @@ class HOptimizedGraphBuilder : public HGraphBuilder, public AstVisitor {
HInstruction* BuildIncrement(bool returns_original_input,
CountOperation* expr);
HInstruction* BuildKeyedGeneric(PropertyAccessType access_type,
- Expression* expr,
- HValue* object,
- HValue* key,
- HValue* value);
+ Expression* expr, FeedbackVectorICSlot slot,
+ HValue* object, HValue* key, HValue* value);
HInstruction* TryBuildConsolidatedElementLoad(HValue* object,
HValue* key,
@@ -2771,24 +2766,21 @@ class HOptimizedGraphBuilder : public HGraphBuilder, public AstVisitor {
PropertyAccessType access_type,
KeyedAccessStoreMode store_mode);
- HValue* HandlePolymorphicElementAccess(Expression* expr,
- HValue* object,
- HValue* key,
- HValue* val,
- SmallMapList* maps,
- PropertyAccessType access_type,
- KeyedAccessStoreMode store_mode,
- bool* has_side_effects);
+ HValue* HandlePolymorphicElementAccess(
+ Expression* expr, FeedbackVectorICSlot slot, HValue* object, HValue* key,
+ HValue* val, SmallMapList* maps, PropertyAccessType access_type,
+ KeyedAccessStoreMode store_mode, bool* has_side_effects);
HValue* HandleKeyedElementAccess(HValue* obj, HValue* key, HValue* val,
- Expression* expr, BailoutId ast_id,
- BailoutId return_id,
+ Expression* expr, FeedbackVectorICSlot slot,
+ BailoutId ast_id, BailoutId return_id,
PropertyAccessType access_type,
bool* has_side_effects);
HInstruction* BuildNamedGeneric(PropertyAccessType access, Expression* expr,
- HValue* object, Handle<String> name,
- HValue* value, bool is_uninitialized = false);
+ FeedbackVectorICSlot slot, HValue* object,
+ Handle<Name> name, HValue* value,
+ bool is_uninitialized = false);
HCheckMaps* AddCheckMap(HValue* object, Handle<Map> map);
@@ -2798,19 +2790,14 @@ class HOptimizedGraphBuilder : public HGraphBuilder, public AstVisitor {
HValue* object,
HValue* key);
- void BuildStoreForEffect(Expression* expression,
- Property* prop,
- BailoutId ast_id,
- BailoutId return_id,
- HValue* object,
- HValue* key,
+ void BuildStoreForEffect(Expression* expression, Property* prop,
+ FeedbackVectorICSlot slot, BailoutId ast_id,
+ BailoutId return_id, HValue* object, HValue* key,
HValue* value);
- void BuildStore(Expression* expression,
- Property* prop,
- BailoutId ast_id,
- BailoutId return_id,
- bool is_uninitialized = false);
+ void BuildStore(Expression* expression, Property* prop,
+ FeedbackVectorICSlot slot, BailoutId ast_id,
+ BailoutId return_id, bool is_uninitialized = false);
HInstruction* BuildLoadNamedField(PropertyAccessInfo* info,
HValue* checked_object);
« 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