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

Side by Side Diff: src/runtime/runtime.h

Issue 896643003: Class methods should be non enumerable (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Use LanguageMode Created 5 years, 10 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/objects-inl.h ('k') | src/runtime/runtime-classes.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_RUNTIME_RUNTIME_H_ 5 #ifndef V8_RUNTIME_RUNTIME_H_
6 #define V8_RUNTIME_RUNTIME_H_ 6 #define V8_RUNTIME_RUNTIME_H_
7 7
8 #include "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/objects.h" 9 #include "src/objects.h"
10 #include "src/zone.h" 10 #include "src/zone.h"
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 \ 249 \
250 /* Eval */ \ 250 /* Eval */ \
251 F(GlobalProxy, 1, 1) \ 251 F(GlobalProxy, 1, 1) \
252 \ 252 \
253 F(AddNamedProperty, 4, 1) \ 253 F(AddNamedProperty, 4, 1) \
254 F(SetProperty, 4, 1) \ 254 F(SetProperty, 4, 1) \
255 F(AddElement, 4, 1) \ 255 F(AddElement, 4, 1) \
256 F(DefineDataPropertyUnchecked, 4, 1) \ 256 F(DefineDataPropertyUnchecked, 4, 1) \
257 F(DefineAccessorPropertyUnchecked, 5, 1) \ 257 F(DefineAccessorPropertyUnchecked, 5, 1) \
258 F(GetDataProperty, 2, 1) \ 258 F(GetDataProperty, 2, 1) \
259 F(DefineGetterPropertyUnchecked, 3, 1) \ 259 F(DefineGetterPropertyUnchecked, 4, 1) \
260 F(DefineSetterPropertyUnchecked, 3, 1) \ 260 F(DefineSetterPropertyUnchecked, 4, 1) \
261 \ 261 \
262 /* Arrays */ \ 262 /* Arrays */ \
263 F(RemoveArrayHoles, 2, 1) \ 263 F(RemoveArrayHoles, 2, 1) \
264 F(GetArrayKeys, 2, 1) \ 264 F(GetArrayKeys, 2, 1) \
265 F(MoveArrayContents, 2, 1) \ 265 F(MoveArrayContents, 2, 1) \
266 F(EstimateNumberOfElements, 1, 1) \ 266 F(EstimateNumberOfElements, 1, 1) \
267 F(NormalizeElements, 1, 1) \ 267 F(NormalizeElements, 1, 1) \
268 F(HasComplexElements, 1, 1) \ 268 F(HasComplexElements, 1, 1) \
269 \ 269 \
270 /* Getters and Setters */ \ 270 /* Getters and Setters */ \
(...skipping 616 matching lines...) Expand 10 before | Expand all | Expand 10 after
887 887
888 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 888 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
889 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 889 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
890 STATIC_ASSERT(LANGUAGE_END == 2); 890 STATIC_ASSERT(LANGUAGE_END == 2);
891 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 1> {}; 891 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 1> {};
892 892
893 } // namespace internal 893 } // namespace internal
894 } // namespace v8 894 } // namespace v8
895 895
896 #endif // V8_RUNTIME_RUNTIME_H_ 896 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/objects-inl.h ('k') | src/runtime/runtime-classes.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698