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

Side by Side Diff: src/hydrogen.h

Issue 585433002: Turn keyed loads with string-based (non-convertible to array-index) key into named loads (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 3 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
« no previous file with comments | « no previous file | 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 2629 matching lines...) Expand 10 before | Expand all | Expand 10 after
2640 2640
2641 HValue* HandlePolymorphicElementAccess(Expression* expr, 2641 HValue* HandlePolymorphicElementAccess(Expression* expr,
2642 HValue* object, 2642 HValue* object,
2643 HValue* key, 2643 HValue* key,
2644 HValue* val, 2644 HValue* val,
2645 SmallMapList* maps, 2645 SmallMapList* maps,
2646 PropertyAccessType access_type, 2646 PropertyAccessType access_type,
2647 KeyedAccessStoreMode store_mode, 2647 KeyedAccessStoreMode store_mode,
2648 bool* has_side_effects); 2648 bool* has_side_effects);
2649 2649
2650 HValue* HandleKeyedElementAccess(HValue* obj, 2650 HValue* HandleKeyedElementAccess(HValue* obj, HValue* key, HValue* val,
2651 HValue* key, 2651 Expression* expr, BailoutId return_id,
2652 HValue* val,
2653 Expression* expr,
2654 PropertyAccessType access_type, 2652 PropertyAccessType access_type,
2655 bool* has_side_effects); 2653 bool* has_side_effects);
2656 2654
2657 HInstruction* BuildNamedGeneric(PropertyAccessType access, 2655 HInstruction* BuildNamedGeneric(PropertyAccessType access,
2658 Expression* expr, 2656 Expression* expr,
2659 HValue* object, 2657 HValue* object,
2660 Handle<String> name, 2658 Handle<String> name,
2661 HValue* value, 2659 HValue* value,
2662 bool is_uninitialized = false); 2660 bool is_uninitialized = false);
2663 2661
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
2928 } 2926 }
2929 2927
2930 private: 2928 private:
2931 HGraphBuilder* builder_; 2929 HGraphBuilder* builder_;
2932 }; 2930 };
2933 2931
2934 2932
2935 } } // namespace v8::internal 2933 } } // namespace v8::internal
2936 2934
2937 #endif // V8_HYDROGEN_H_ 2935 #endif // V8_HYDROGEN_H_
OLDNEW
« no previous file with comments | « no previous file | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698