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

Unified Diff: src/location.h

Issue 340034: Rename the Location type tags to be consistent with our current naming... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/ia32/fast-codegen-ia32.cc ('k') | src/x64/fast-codegen-x64.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/location.h
===================================================================
--- src/location.h (revision 3171)
+++ src/location.h (working copy)
@@ -35,14 +35,18 @@
class Location BASE_EMBEDDED {
public:
- enum Type { UNINITIALIZED, EFFECT, VALUE };
+ enum Type {
+ kUninitialized,
+ kEffect,
+ kValue
+ };
- static Location Uninitialized() { return Location(UNINITIALIZED); }
- static Location Effect() { return Location(EFFECT); }
- static Location Value() { return Location(VALUE); }
+ static Location Uninitialized() { return Location(kUninitialized); }
+ static Location Effect() { return Location(kEffect); }
+ static Location Value() { return Location(kValue); }
- bool is_effect() { return type_ == EFFECT; }
- bool is_value() { return type_ == VALUE; }
+ bool is_effect() { return type_ == kEffect; }
+ bool is_value() { return type_ == kValue; }
Type type() { return type_; }
« no previous file with comments | « src/ia32/fast-codegen-ia32.cc ('k') | src/x64/fast-codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698