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

Side by Side Diff: src/globals.h

Issue 776143005: Optimize Object.seal and Object.preventExtensions (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Add nonextensible and sealed as special transitions Created 6 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 | « no previous file | src/heap/heap.h » ('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_GLOBALS_H_ 5 #ifndef V8_GLOBALS_H_
6 #define V8_GLOBALS_H_ 6 #define V8_GLOBALS_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after
337 class Object; 337 class Object;
338 class OldSpace; 338 class OldSpace;
339 class Foreign; 339 class Foreign;
340 class Scope; 340 class Scope;
341 class ScopeInfo; 341 class ScopeInfo;
342 class Script; 342 class Script;
343 class Smi; 343 class Smi;
344 template <typename Config, class Allocator = FreeStoreAllocationPolicy> 344 template <typename Config, class Allocator = FreeStoreAllocationPolicy>
345 class SplayTree; 345 class SplayTree;
346 class String; 346 class String;
347 class Symbol;
347 class Name; 348 class Name;
348 class Struct; 349 class Struct;
349 class Symbol; 350 class Symbol;
350 class Variable; 351 class Variable;
351 class RelocInfo; 352 class RelocInfo;
352 class Deserializer; 353 class Deserializer;
353 class MessageLocation; 354 class MessageLocation;
354 355
355 typedef bool (*WeakSlotCallback)(Object** pointer); 356 typedef bool (*WeakSlotCallback)(Object** pointer);
356 357
(...skipping 450 matching lines...) Expand 10 before | Expand all | Expand 10 after
807 DCHECK(IsValidFunctionKind(kind)); 808 DCHECK(IsValidFunctionKind(kind));
808 return kind & FunctionKind::kDefaultConstructor; 809 return kind & FunctionKind::kDefaultConstructor;
809 } 810 }
810 811
811 812
812 } } // namespace v8::internal 813 } } // namespace v8::internal
813 814
814 namespace i = v8::internal; 815 namespace i = v8::internal;
815 816
816 #endif // V8_GLOBALS_H_ 817 #endif // V8_GLOBALS_H_
OLDNEW
« no previous file with comments | « no previous file | src/heap/heap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698