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

Side by Side Diff: src/hydrogen.h

Issue 494063002: Rename IsDontDelete to IsConfigurable (and invert conditions) (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 4 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
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 2492 matching lines...) Expand 10 before | Expand all | Expand 10 after
2503 HType field_type() const { return field_type_; } 2503 HType field_type() const { return field_type_; }
2504 HObjectAccess access() { return access_; } 2504 HObjectAccess access() { return access_; }
2505 2505
2506 bool IsFound() const { return lookup_.IsFound(); } 2506 bool IsFound() const { return lookup_.IsFound(); }
2507 bool IsProperty() const { return lookup_.IsProperty(); } 2507 bool IsProperty() const { return lookup_.IsProperty(); }
2508 bool IsField() const { return lookup_.IsField(); } 2508 bool IsField() const { return lookup_.IsField(); }
2509 bool IsConstant() const { return lookup_.IsConstant(); } 2509 bool IsConstant() const { return lookup_.IsConstant(); }
2510 bool IsAccessor() const { return lookup_.IsPropertyCallbacks(); } 2510 bool IsAccessor() const { return lookup_.IsPropertyCallbacks(); }
2511 bool IsTransition() const { return lookup_.IsTransition(); } 2511 bool IsTransition() const { return lookup_.IsTransition(); }
2512 2512
2513 bool IsConfigurable() const { return !lookup_.IsDontDelete(); } 2513 bool IsConfigurable() const { return lookup_.IsConfigurable(); }
2514 bool IsReadOnly() const { return lookup_.IsReadOnly(); } 2514 bool IsReadOnly() const { return lookup_.IsReadOnly(); }
2515 bool IsCacheable() const { return lookup_.IsCacheable(); } 2515 bool IsCacheable() const { return lookup_.IsCacheable(); }
2516 2516
2517 private: 2517 private:
2518 Handle<Object> GetAccessorsFromMap(Handle<Map> map) const { 2518 Handle<Object> GetAccessorsFromMap(Handle<Map> map) const {
2519 return handle(lookup_.GetValueFromMap(*map), isolate()); 2519 return handle(lookup_.GetValueFromMap(*map), isolate());
2520 } 2520 }
2521 Handle<Object> GetConstantFromMap(Handle<Map> map) const { 2521 Handle<Object> GetConstantFromMap(Handle<Map> map) const {
2522 return handle(lookup_.GetConstantFromMap(*map), isolate()); 2522 return handle(lookup_.GetConstantFromMap(*map), isolate());
2523 } 2523 }
(...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after
2929 } 2929 }
2930 2930
2931 private: 2931 private:
2932 HGraphBuilder* builder_; 2932 HGraphBuilder* builder_;
2933 }; 2933 };
2934 2934
2935 2935
2936 } } // namespace v8::internal 2936 } } // namespace v8::internal
2937 2937
2938 #endif // V8_HYDROGEN_H_ 2938 #endif // V8_HYDROGEN_H_
OLDNEW
« no previous file with comments | « src/elements.cc ('k') | src/hydrogen-instructions.h » ('j') | src/hydrogen-instructions.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698