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

Side by Side Diff: src/objects.h

Issue 705663004: harmony_scoping: Implement lexical bindings at top level (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebased patch for landing Created 6 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
« no previous file with comments | « src/ic/ic.cc ('k') | src/objects.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_OBJECTS_H_ 5 #ifndef V8_OBJECTS_H_
6 #define V8_OBJECTS_H_ 6 #define V8_OBJECTS_H_
7 7
8 #include <iosfwd> 8 #include <iosfwd>
9 9
10 #include "src/allocation.h" 10 #include "src/allocation.h"
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 // - CodeCacheHashTable 80 // - CodeCacheHashTable
81 // - MapCache 81 // - MapCache
82 // - OrderedHashTable 82 // - OrderedHashTable
83 // - OrderedHashSet 83 // - OrderedHashSet
84 // - OrderedHashMap 84 // - OrderedHashMap
85 // - Context 85 // - Context
86 // - TypeFeedbackVector 86 // - TypeFeedbackVector
87 // - JSFunctionResultCache 87 // - JSFunctionResultCache
88 // - ScopeInfo 88 // - ScopeInfo
89 // - TransitionArray 89 // - TransitionArray
90 // - GlobalContextTable
90 // - FixedDoubleArray 91 // - FixedDoubleArray
91 // - ExternalArray 92 // - ExternalArray
92 // - ExternalUint8ClampedArray 93 // - ExternalUint8ClampedArray
93 // - ExternalInt8Array 94 // - ExternalInt8Array
94 // - ExternalUint8Array 95 // - ExternalUint8Array
95 // - ExternalInt16Array 96 // - ExternalInt16Array
96 // - ExternalUint16Array 97 // - ExternalUint16Array
97 // - ExternalInt32Array 98 // - ExternalInt32Array
98 // - ExternalUint32Array 99 // - ExternalUint32Array
99 // - ExternalFloat32Array 100 // - ExternalFloat32Array
(...skipping 837 matching lines...) Expand 10 before | Expand all | Expand 10 after
937 V(DescriptorArray) \ 938 V(DescriptorArray) \
938 V(TransitionArray) \ 939 V(TransitionArray) \
939 V(TypeFeedbackVector) \ 940 V(TypeFeedbackVector) \
940 V(DeoptimizationInputData) \ 941 V(DeoptimizationInputData) \
941 V(DeoptimizationOutputData) \ 942 V(DeoptimizationOutputData) \
942 V(DependentCode) \ 943 V(DependentCode) \
943 V(FixedArray) \ 944 V(FixedArray) \
944 V(FixedDoubleArray) \ 945 V(FixedDoubleArray) \
945 V(ConstantPoolArray) \ 946 V(ConstantPoolArray) \
946 V(Context) \ 947 V(Context) \
948 V(GlobalContextTable) \
947 V(NativeContext) \ 949 V(NativeContext) \
948 V(ScopeInfo) \ 950 V(ScopeInfo) \
949 V(JSFunction) \ 951 V(JSFunction) \
950 V(Code) \ 952 V(Code) \
951 V(Oddball) \ 953 V(Oddball) \
952 V(SharedFunctionInfo) \ 954 V(SharedFunctionInfo) \
953 V(JSValue) \ 955 V(JSValue) \
954 V(JSDate) \ 956 V(JSDate) \
955 V(JSMessageObject) \ 957 V(JSMessageObject) \
956 V(StringWrapper) \ 958 V(StringWrapper) \
(...skipping 6574 matching lines...) Expand 10 before | Expand all | Expand 10 after
7531 DECL_ACCESSORS(native_context, Context) 7533 DECL_ACCESSORS(native_context, Context)
7532 7534
7533 // [global context]: the most recent (i.e. innermost) global context. 7535 // [global context]: the most recent (i.e. innermost) global context.
7534 DECL_ACCESSORS(global_context, Context) 7536 DECL_ACCESSORS(global_context, Context)
7535 7537
7536 // [global proxy]: the global proxy object of the context 7538 // [global proxy]: the global proxy object of the context
7537 DECL_ACCESSORS(global_proxy, JSObject) 7539 DECL_ACCESSORS(global_proxy, JSObject)
7538 7540
7539 DECLARE_CAST(GlobalObject) 7541 DECLARE_CAST(GlobalObject)
7540 7542
7543 static void InvalidatePropertyCell(Handle<GlobalObject> object,
7544 Handle<Name> name);
7545
7541 // Layout description. 7546 // Layout description.
7542 static const int kBuiltinsOffset = JSObject::kHeaderSize; 7547 static const int kBuiltinsOffset = JSObject::kHeaderSize;
7543 static const int kNativeContextOffset = kBuiltinsOffset + kPointerSize; 7548 static const int kNativeContextOffset = kBuiltinsOffset + kPointerSize;
7544 static const int kGlobalContextOffset = kNativeContextOffset + kPointerSize; 7549 static const int kGlobalContextOffset = kNativeContextOffset + kPointerSize;
7545 static const int kGlobalProxyOffset = kGlobalContextOffset + kPointerSize; 7550 static const int kGlobalProxyOffset = kGlobalContextOffset + kPointerSize;
7546 static const int kHeaderSize = kGlobalProxyOffset + kPointerSize; 7551 static const int kHeaderSize = kGlobalProxyOffset + kPointerSize;
7547 7552
7548 private: 7553 private:
7549 DISALLOW_IMPLICIT_CONSTRUCTORS(GlobalObject); 7554 DISALLOW_IMPLICIT_CONSTRUCTORS(GlobalObject);
7550 }; 7555 };
(...skipping 3382 matching lines...) Expand 10 before | Expand all | Expand 10 after
10933 } else { 10938 } else {
10934 value &= ~(1 << bit_position); 10939 value &= ~(1 << bit_position);
10935 } 10940 }
10936 return value; 10941 return value;
10937 } 10942 }
10938 }; 10943 };
10939 10944
10940 } } // namespace v8::internal 10945 } } // namespace v8::internal
10941 10946
10942 #endif // V8_OBJECTS_H_ 10947 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/ic/ic.cc ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698