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

Side by Side Diff: src/crankshaft/hydrogen.h

Issue 1415333003: Alternative approach to using type feedback for Symbol-keyed properties (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 1 month 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 | « no previous file | src/crankshaft/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_CRANKSHAFT_HYDROGEN_H_ 5 #ifndef V8_CRANKSHAFT_HYDROGEN_H_
6 #define V8_CRANKSHAFT_HYDROGEN_H_ 6 #define V8_CRANKSHAFT_HYDROGEN_H_
7 7
8 #include "src/accessors.h" 8 #include "src/accessors.h"
9 #include "src/allocation.h" 9 #include "src/allocation.h"
10 #include "src/ast.h" 10 #include "src/ast.h"
(...skipping 2475 matching lines...) Expand 10 before | Expand all | Expand 10 after
2486 2486
2487 void HandleGlobalVariableAssignment(Variable* var, HValue* value, 2487 void HandleGlobalVariableAssignment(Variable* var, HValue* value,
2488 FeedbackVectorSlot slot, 2488 FeedbackVectorSlot slot,
2489 BailoutId ast_id); 2489 BailoutId ast_id);
2490 2490
2491 void HandlePropertyAssignment(Assignment* expr); 2491 void HandlePropertyAssignment(Assignment* expr);
2492 void HandleCompoundAssignment(Assignment* expr); 2492 void HandleCompoundAssignment(Assignment* expr);
2493 void HandlePolymorphicNamedFieldAccess( 2493 void HandlePolymorphicNamedFieldAccess(
2494 PropertyAccessType access_type, Expression* expr, FeedbackVectorSlot slot, 2494 PropertyAccessType access_type, Expression* expr, FeedbackVectorSlot slot,
2495 BailoutId ast_id, BailoutId return_id, HValue* object, HValue* value, 2495 BailoutId ast_id, BailoutId return_id, HValue* object, HValue* value,
2496 SmallMapList* types, Handle<String> name); 2496 SmallMapList* types, Handle<Name> name);
2497 2497
2498 HValue* BuildAllocateExternalElements( 2498 HValue* BuildAllocateExternalElements(
2499 ExternalArrayType array_type, 2499 ExternalArrayType array_type,
2500 bool is_zero_byte_offset, 2500 bool is_zero_byte_offset,
2501 HValue* buffer, HValue* byte_offset, HValue* length); 2501 HValue* buffer, HValue* byte_offset, HValue* length);
2502 HValue* BuildAllocateFixedTypedArray(ExternalArrayType array_type, 2502 HValue* BuildAllocateFixedTypedArray(ExternalArrayType array_type,
2503 size_t element_size, 2503 size_t element_size,
2504 ElementsKind fixed_elements_kind, 2504 ElementsKind fixed_elements_kind,
2505 HValue* byte_length, HValue* length, 2505 HValue* byte_length, HValue* length,
2506 bool initialize); 2506 bool initialize);
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
2736 }; 2736 };
2737 2737
2738 HValue* BuildMonomorphicAccess(PropertyAccessInfo* info, HValue* object, 2738 HValue* BuildMonomorphicAccess(PropertyAccessInfo* info, HValue* object,
2739 HValue* checked_object, HValue* value, 2739 HValue* checked_object, HValue* value,
2740 BailoutId ast_id, BailoutId return_id, 2740 BailoutId ast_id, BailoutId return_id,
2741 bool can_inline_accessor = true); 2741 bool can_inline_accessor = true);
2742 2742
2743 HValue* BuildNamedAccess(PropertyAccessType access, BailoutId ast_id, 2743 HValue* BuildNamedAccess(PropertyAccessType access, BailoutId ast_id,
2744 BailoutId reutrn_id, Expression* expr, 2744 BailoutId reutrn_id, Expression* expr,
2745 FeedbackVectorSlot slot, HValue* object, 2745 FeedbackVectorSlot slot, HValue* object,
2746 Handle<String> name, HValue* value, 2746 Handle<Name> name, HValue* value,
2747 bool is_uninitialized = false); 2747 bool is_uninitialized = false);
2748 2748
2749 void HandlePolymorphicCallNamed(Call* expr, 2749 void HandlePolymorphicCallNamed(Call* expr,
2750 HValue* receiver, 2750 HValue* receiver,
2751 SmallMapList* types, 2751 SmallMapList* types,
2752 Handle<String> name); 2752 Handle<String> name);
2753 void HandleLiteralCompareTypeof(CompareOperation* expr, 2753 void HandleLiteralCompareTypeof(CompareOperation* expr,
2754 Expression* sub_expr, 2754 Expression* sub_expr,
2755 Handle<String> check); 2755 Handle<String> check);
2756 void HandleLiteralCompareNil(CompareOperation* expr, 2756 void HandleLiteralCompareNil(CompareOperation* expr,
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after
3072 3072
3073 private: 3073 private:
3074 HGraphBuilder* builder_; 3074 HGraphBuilder* builder_;
3075 }; 3075 };
3076 3076
3077 3077
3078 } // namespace internal 3078 } // namespace internal
3079 } // namespace v8 3079 } // namespace v8
3080 3080
3081 #endif // V8_CRANKSHAFT_HYDROGEN_H_ 3081 #endif // V8_CRANKSHAFT_HYDROGEN_H_
OLDNEW
« no previous file with comments | « no previous file | src/crankshaft/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698