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

Side by Side Diff: src/flag-definitions.h

Issue 11225058: Initial JS stub implementation of Object.observe. Adds support for .object/.unobserve/.notify/.deli… (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: install functions on Object, not Object.prototype Created 8 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 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 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 DEFINE_bool(es52_globals, true, 137 DEFINE_bool(es52_globals, true,
138 "activate new semantics for global var declarations") 138 "activate new semantics for global var declarations")
139 139
140 DEFINE_bool(harmony_typeof, false, "enable harmony semantics for typeof") 140 DEFINE_bool(harmony_typeof, false, "enable harmony semantics for typeof")
141 DEFINE_bool(harmony_scoping, false, "enable harmony block scoping") 141 DEFINE_bool(harmony_scoping, false, "enable harmony block scoping")
142 DEFINE_bool(harmony_modules, false, 142 DEFINE_bool(harmony_modules, false,
143 "enable harmony modules (implies block scoping)") 143 "enable harmony modules (implies block scoping)")
144 DEFINE_bool(harmony_proxies, false, "enable harmony proxies") 144 DEFINE_bool(harmony_proxies, false, "enable harmony proxies")
145 DEFINE_bool(harmony_collections, false, 145 DEFINE_bool(harmony_collections, false,
146 "enable harmony collections (sets, maps, and weak maps)") 146 "enable harmony collections (sets, maps, and weak maps)")
147 DEFINE_bool(harmony_object_observe, false,
148 "enable harmony object observation (implies harmony collections")
147 DEFINE_bool(harmony, false, "enable all harmony features (except typeof)") 149 DEFINE_bool(harmony, false, "enable all harmony features (except typeof)")
148 DEFINE_implication(harmony, harmony_scoping) 150 DEFINE_implication(harmony, harmony_scoping)
149 DEFINE_implication(harmony, harmony_modules) 151 DEFINE_implication(harmony, harmony_modules)
150 DEFINE_implication(harmony, harmony_proxies) 152 DEFINE_implication(harmony, harmony_proxies)
151 DEFINE_implication(harmony, harmony_collections) 153 DEFINE_implication(harmony, harmony_collections)
154 DEFINE_implication(harmony, harmony_object_observe)
152 DEFINE_implication(harmony_modules, harmony_scoping) 155 DEFINE_implication(harmony_modules, harmony_scoping)
156 DEFINE_implication(harmony_object_observe, harmony_collections)
153 157
154 // Flags for experimental implementation features. 158 // Flags for experimental implementation features.
155 DEFINE_bool(packed_arrays, true, "optimizes arrays that have no holes") 159 DEFINE_bool(packed_arrays, true, "optimizes arrays that have no holes")
156 DEFINE_bool(smi_only_arrays, true, "tracks arrays with only smi values") 160 DEFINE_bool(smi_only_arrays, true, "tracks arrays with only smi values")
157 DEFINE_bool(clever_optimizations, 161 DEFINE_bool(clever_optimizations,
158 true, 162 true,
159 "Optimize object size, Array shift, DOM strings and string +") 163 "Optimize object size, Array shift, DOM strings and string +")
160 164
161 // Flags for data representation optimizations 165 // Flags for data representation optimizations
162 DEFINE_bool(unbox_double_arrays, true, "automatically unbox arrays of doubles") 166 DEFINE_bool(unbox_double_arrays, true, "automatically unbox arrays of doubles")
(...skipping 539 matching lines...) Expand 10 before | Expand all | Expand 10 after
702 #undef DEFINE_bool 706 #undef DEFINE_bool
703 #undef DEFINE_int 707 #undef DEFINE_int
704 #undef DEFINE_string 708 #undef DEFINE_string
705 #undef DEFINE_implication 709 #undef DEFINE_implication
706 710
707 #undef FLAG_MODE_DECLARE 711 #undef FLAG_MODE_DECLARE
708 #undef FLAG_MODE_DEFINE 712 #undef FLAG_MODE_DEFINE
709 #undef FLAG_MODE_DEFINE_DEFAULTS 713 #undef FLAG_MODE_DEFINE_DEFAULTS
710 #undef FLAG_MODE_META 714 #undef FLAG_MODE_META
711 #undef FLAG_MODE_DEFINE_IMPLICATIONS 715 #undef FLAG_MODE_DEFINE_IMPLICATIONS
OLDNEW
« no previous file with comments | « src/bootstrapper.cc ('k') | src/messages.js » ('j') | src/messages.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698