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

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

Issue 1502983002: [proxies] Make Object.{isFrozen,isSealed} behave correctly for proxies. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase Created 5 years 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.cc ('k') | src/runtime/runtime-object.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/unicode.h" 10 #include "src/unicode.h"
(...skipping 416 matching lines...) Expand 10 before | Expand all | Expand 10 after
427 #define FOR_EACH_INTRINSIC_OBJECT(F) \ 427 #define FOR_EACH_INTRINSIC_OBJECT(F) \
428 F(GetPrototype, 1, 1) \ 428 F(GetPrototype, 1, 1) \
429 F(InternalSetPrototype, 2, 1) \ 429 F(InternalSetPrototype, 2, 1) \
430 F(SetPrototype, 2, 1) \ 430 F(SetPrototype, 2, 1) \
431 F(GetOwnProperty, 2, 1) \ 431 F(GetOwnProperty, 2, 1) \
432 F(GetOwnProperty_Legacy, 2, 1) \ 432 F(GetOwnProperty_Legacy, 2, 1) \
433 F(PreventExtensions, 1, 1) \ 433 F(PreventExtensions, 1, 1) \
434 F(IsExtensible, 1, 1) \ 434 F(IsExtensible, 1, 1) \
435 F(OptimizeObjectForAddingMultipleProperties, 2, 1) \ 435 F(OptimizeObjectForAddingMultipleProperties, 2, 1) \
436 F(ObjectFreeze, 1, 1) \ 436 F(ObjectFreeze, 1, 1) \
437 F(ObjectIsFrozen, 1, 1) \
437 F(ObjectSeal, 1, 1) \ 438 F(ObjectSeal, 1, 1) \
439 F(ObjectIsSealed, 1, 1) \
438 F(GetProperty, 2, 1) \ 440 F(GetProperty, 2, 1) \
439 F(GetPropertyStrong, 2, 1) \ 441 F(GetPropertyStrong, 2, 1) \
440 F(KeyedGetProperty, 2, 1) \ 442 F(KeyedGetProperty, 2, 1) \
441 F(KeyedGetPropertyStrong, 2, 1) \ 443 F(KeyedGetPropertyStrong, 2, 1) \
442 F(LoadGlobalViaContext, 1, 1) \ 444 F(LoadGlobalViaContext, 1, 1) \
443 F(StoreGlobalViaContext_Sloppy, 2, 1) \ 445 F(StoreGlobalViaContext_Sloppy, 2, 1) \
444 F(StoreGlobalViaContext_Strict, 2, 1) \ 446 F(StoreGlobalViaContext_Strict, 2, 1) \
445 F(AddNamedProperty, 4, 1) \ 447 F(AddNamedProperty, 4, 1) \
446 F(SetProperty, 4, 1) \ 448 F(SetProperty, 4, 1) \
447 F(AddElement, 3, 1) \ 449 F(AddElement, 3, 1) \
(...skipping 800 matching lines...) Expand 10 before | Expand all | Expand 10 after
1248 1250
1249 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 1251 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
1250 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 1252 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
1251 STATIC_ASSERT(LANGUAGE_END == 3); 1253 STATIC_ASSERT(LANGUAGE_END == 3);
1252 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; 1254 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {};
1253 1255
1254 } // namespace internal 1256 } // namespace internal
1255 } // namespace v8 1257 } // namespace v8
1256 1258
1257 #endif // V8_RUNTIME_RUNTIME_H_ 1259 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/objects.cc ('k') | src/runtime/runtime-object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698