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

Unified Diff: src/ast/variables.cc

Issue 1439693002: [runtime] Support Proxy setPrototypeOf trap (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@2015-11-09_new_Proxy_1417063011
Patch Set: merging with master Created 5 years, 1 month 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/ast/variables.h ('k') | src/bootstrapper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ast/variables.cc
diff --git a/src/ast/variables.cc b/src/ast/variables.cc
index 8e007823863aea9e403252fa891b59866b708929..34cab4d4dfe22ccfe0a5804319a4c4176c82498f 100644
--- a/src/ast/variables.cc
+++ b/src/ast/variables.cc
@@ -15,15 +15,24 @@ namespace internal {
const char* Variable::Mode2String(VariableMode mode) {
switch (mode) {
- case VAR: return "VAR";
- case CONST_LEGACY: return "CONST_LEGACY";
- case LET: return "LET";
- case CONST: return "CONST";
- case IMPORT: return "IMPORT";
- case DYNAMIC: return "DYNAMIC";
- case DYNAMIC_GLOBAL: return "DYNAMIC_GLOBAL";
- case DYNAMIC_LOCAL: return "DYNAMIC_LOCAL";
- case TEMPORARY: return "TEMPORARY";
+ case VAR:
+ return "VAR";
+ case CONST_LEGACY:
+ return "CONST_LEGACY";
+ case LET:
+ return "LET";
+ case CONST:
+ return "CONST";
+ case IMPORT:
+ return "IMPORT";
+ case DYNAMIC:
+ return "DYNAMIC";
+ case DYNAMIC_GLOBAL:
+ return "DYNAMIC_GLOBAL";
+ case DYNAMIC_LOCAL:
+ return "DYNAMIC_LOCAL";
+ case TEMPORARY:
+ return "TEMPORARY";
}
UNREACHABLE();
return NULL;
« no previous file with comments | « src/ast/variables.h ('k') | src/bootstrapper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698