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

Side by Side Diff: src/hydrogen.h

Issue 595453002: Pass the ast_id to HandleKeyed to make sure it's the right one (e.g., CountOperation, not just the … (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 2609 matching lines...) Expand 10 before | Expand all | Expand 10 after
2620 HValue* HandlePolymorphicElementAccess(Expression* expr, 2620 HValue* HandlePolymorphicElementAccess(Expression* expr,
2621 HValue* object, 2621 HValue* object,
2622 HValue* key, 2622 HValue* key,
2623 HValue* val, 2623 HValue* val,
2624 SmallMapList* maps, 2624 SmallMapList* maps,
2625 PropertyAccessType access_type, 2625 PropertyAccessType access_type,
2626 KeyedAccessStoreMode store_mode, 2626 KeyedAccessStoreMode store_mode,
2627 bool* has_side_effects); 2627 bool* has_side_effects);
2628 2628
2629 HValue* HandleKeyedElementAccess(HValue* obj, HValue* key, HValue* val, 2629 HValue* HandleKeyedElementAccess(HValue* obj, HValue* key, HValue* val,
2630 Expression* expr, BailoutId return_id, 2630 Expression* expr, BailoutId ast_id,
2631 BailoutId return_id,
2631 PropertyAccessType access_type, 2632 PropertyAccessType access_type,
2632 bool* has_side_effects); 2633 bool* has_side_effects);
2633 2634
2634 HInstruction* BuildNamedGeneric(PropertyAccessType access, 2635 HInstruction* BuildNamedGeneric(PropertyAccessType access,
2635 Expression* expr, 2636 Expression* expr,
2636 HValue* object, 2637 HValue* object,
2637 Handle<String> name, 2638 Handle<String> name,
2638 HValue* value, 2639 HValue* value,
2639 bool is_uninitialized = false); 2640 bool is_uninitialized = false);
2640 2641
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
2905 } 2906 }
2906 2907
2907 private: 2908 private:
2908 HGraphBuilder* builder_; 2909 HGraphBuilder* builder_;
2909 }; 2910 };
2910 2911
2911 2912
2912 } } // namespace v8::internal 2913 } } // namespace v8::internal
2913 2914
2914 #endif // V8_HYDROGEN_H_ 2915 #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