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

Side by Side Diff: src/hydrogen.h

Issue 992913002: handle the special snowflakes that are Integer Indexed Exotic objects (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 9 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
« no previous file with comments | « src/conversions.cc ('k') | 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 2565 matching lines...) Expand 10 before | Expand all | Expand 10 after
2576 } 2576 }
2577 2577
2578 Zone* zone() { return builder_->zone(); } 2578 Zone* zone() { return builder_->zone(); }
2579 CompilationInfo* top_info() { return builder_->top_info(); } 2579 CompilationInfo* top_info() { return builder_->top_info(); }
2580 CompilationInfo* current_info() { return builder_->current_info(); } 2580 CompilationInfo* current_info() { return builder_->current_info(); }
2581 2581
2582 bool LoadResult(Handle<Map> map); 2582 bool LoadResult(Handle<Map> map);
2583 void LoadFieldMaps(Handle<Map> map); 2583 void LoadFieldMaps(Handle<Map> map);
2584 bool LookupDescriptor(); 2584 bool LookupDescriptor();
2585 bool LookupInPrototypes(); 2585 bool LookupInPrototypes();
2586 bool IsIntegerIndexedExotic();
2586 bool IsCompatible(PropertyAccessInfo* other); 2587 bool IsCompatible(PropertyAccessInfo* other);
2587 2588
2588 void GeneralizeRepresentation(Representation r) { 2589 void GeneralizeRepresentation(Representation r) {
2589 access_ = access_.WithRepresentation( 2590 access_ = access_.WithRepresentation(
2590 access_.representation().generalize(r)); 2591 access_.representation().generalize(r));
2591 } 2592 }
2592 2593
2593 HOptimizedGraphBuilder* builder_; 2594 HOptimizedGraphBuilder* builder_;
2594 PropertyAccessType access_type_; 2595 PropertyAccessType access_type_;
2595 Handle<Map> map_; 2596 Handle<Map> map_;
(...skipping 370 matching lines...) Expand 10 before | Expand all | Expand 10 after
2966 } 2967 }
2967 2968
2968 private: 2969 private:
2969 HGraphBuilder* builder_; 2970 HGraphBuilder* builder_;
2970 }; 2971 };
2971 2972
2972 2973
2973 } } // namespace v8::internal 2974 } } // namespace v8::internal
2974 2975
2975 #endif // V8_HYDROGEN_H_ 2976 #endif // V8_HYDROGEN_H_
OLDNEW
« no previous file with comments | « src/conversions.cc ('k') | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698