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

Side by Side Diff: src/hydrogen.h

Issue 856503002: Massive renaming of PropertyType values and other implied stuff. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Spurious file addition fixed Created 5 years, 11 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/heap-snapshot-generator.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 2500 matching lines...) Expand 10 before | Expand all | Expand 10 after
2511 Handle<JSObject> holder() { return holder_; } 2511 Handle<JSObject> holder() { return holder_; }
2512 Handle<JSFunction> accessor() { return accessor_; } 2512 Handle<JSFunction> accessor() { return accessor_; }
2513 Handle<Object> constant() { return constant_; } 2513 Handle<Object> constant() { return constant_; }
2514 Handle<Map> transition() { return handle(lookup_.GetTransitionTarget()); } 2514 Handle<Map> transition() { return handle(lookup_.GetTransitionTarget()); }
2515 SmallMapList* field_maps() { return &field_maps_; } 2515 SmallMapList* field_maps() { return &field_maps_; }
2516 HType field_type() const { return field_type_; } 2516 HType field_type() const { return field_type_; }
2517 HObjectAccess access() { return access_; } 2517 HObjectAccess access() { return access_; }
2518 2518
2519 bool IsFound() const { return lookup_.IsFound(); } 2519 bool IsFound() const { return lookup_.IsFound(); }
2520 bool IsProperty() const { return lookup_.IsProperty(); } 2520 bool IsProperty() const { return lookup_.IsProperty(); }
2521 bool IsField() const { return lookup_.IsField(); } 2521 bool IsData() const { return lookup_.IsData(); }
2522 bool IsConstant() const { return lookup_.IsConstant(); } 2522 bool IsDataConstant() const { return lookup_.IsDataConstant(); }
2523 bool IsAccessor() const { return lookup_.IsPropertyCallbacks(); } 2523 bool IsAccessorConstant() const { return lookup_.IsAccessorConstant(); }
2524 bool IsTransition() const { return lookup_.IsTransition(); } 2524 bool IsTransition() const { return lookup_.IsTransition(); }
2525 2525
2526 bool IsConfigurable() const { return lookup_.IsConfigurable(); } 2526 bool IsConfigurable() const { return lookup_.IsConfigurable(); }
2527 bool IsReadOnly() const { return lookup_.IsReadOnly(); } 2527 bool IsReadOnly() const { return lookup_.IsReadOnly(); }
2528 2528
2529 private: 2529 private:
2530 Handle<Object> GetAccessorsFromMap(Handle<Map> map) const { 2530 Handle<Object> GetAccessorsFromMap(Handle<Map> map) const {
2531 return handle(lookup_.GetValueFromMap(*map), isolate()); 2531 return handle(lookup_.GetValueFromMap(*map), isolate());
2532 } 2532 }
2533 Handle<Object> GetConstantFromMap(Handle<Map> map) const { 2533 Handle<Object> GetConstantFromMap(Handle<Map> map) const {
(...skipping 408 matching lines...) Expand 10 before | Expand all | Expand 10 after
2942 } 2942 }
2943 2943
2944 private: 2944 private:
2945 HGraphBuilder* builder_; 2945 HGraphBuilder* builder_;
2946 }; 2946 };
2947 2947
2948 2948
2949 } } // namespace v8::internal 2949 } } // namespace v8::internal
2950 2950
2951 #endif // V8_HYDROGEN_H_ 2951 #endif // V8_HYDROGEN_H_
OLDNEW
« no previous file with comments | « src/heap-snapshot-generator.cc ('k') | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698