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

Side by Side Diff: src/objects-inl.h

Issue 10872084: Allocate block-scoped global bindings to global context. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 3 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 | 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 3671 matching lines...) Expand 10 before | Expand all | Expand 10 after
3682 3682
3683 ACCESSORS(Map, code_cache, Object, kCodeCacheOffset) 3683 ACCESSORS(Map, code_cache, Object, kCodeCacheOffset)
3684 ACCESSORS(Map, constructor, Object, kConstructorOffset) 3684 ACCESSORS(Map, constructor, Object, kConstructorOffset)
3685 3685
3686 ACCESSORS(JSFunction, shared, SharedFunctionInfo, kSharedFunctionInfoOffset) 3686 ACCESSORS(JSFunction, shared, SharedFunctionInfo, kSharedFunctionInfoOffset)
3687 ACCESSORS(JSFunction, literals_or_bindings, FixedArray, kLiteralsOffset) 3687 ACCESSORS(JSFunction, literals_or_bindings, FixedArray, kLiteralsOffset)
3688 ACCESSORS(JSFunction, next_function_link, Object, kNextFunctionLinkOffset) 3688 ACCESSORS(JSFunction, next_function_link, Object, kNextFunctionLinkOffset)
3689 3689
3690 ACCESSORS(GlobalObject, builtins, JSBuiltinsObject, kBuiltinsOffset) 3690 ACCESSORS(GlobalObject, builtins, JSBuiltinsObject, kBuiltinsOffset)
3691 ACCESSORS(GlobalObject, native_context, Context, kNativeContextOffset) 3691 ACCESSORS(GlobalObject, native_context, Context, kNativeContextOffset)
3692 ACCESSORS(GlobalObject, global_context, Context, kGlobalContextOffset)
3692 ACCESSORS(GlobalObject, global_receiver, JSObject, kGlobalReceiverOffset) 3693 ACCESSORS(GlobalObject, global_receiver, JSObject, kGlobalReceiverOffset)
3693 3694
3694 ACCESSORS(JSGlobalProxy, native_context, Object, kNativeContextOffset) 3695 ACCESSORS(JSGlobalProxy, native_context, Object, kNativeContextOffset)
3695 3696
3696 ACCESSORS(AccessorInfo, getter, Object, kGetterOffset) 3697 ACCESSORS(AccessorInfo, getter, Object, kGetterOffset)
3697 ACCESSORS(AccessorInfo, setter, Object, kSetterOffset) 3698 ACCESSORS(AccessorInfo, setter, Object, kSetterOffset)
3698 ACCESSORS(AccessorInfo, data, Object, kDataOffset) 3699 ACCESSORS(AccessorInfo, data, Object, kDataOffset)
3699 ACCESSORS(AccessorInfo, name, Object, kNameOffset) 3700 ACCESSORS(AccessorInfo, name, Object, kNameOffset)
3700 ACCESSORS_TO_SMI(AccessorInfo, flag, kFlagOffset) 3701 ACCESSORS_TO_SMI(AccessorInfo, flag, kFlagOffset)
3701 ACCESSORS(AccessorInfo, expected_receiver_type, Object, 3702 ACCESSORS(AccessorInfo, expected_receiver_type, Object,
(...skipping 1699 matching lines...) Expand 10 before | Expand all | Expand 10 after
5401 #undef WRITE_UINT32_FIELD 5402 #undef WRITE_UINT32_FIELD
5402 #undef READ_SHORT_FIELD 5403 #undef READ_SHORT_FIELD
5403 #undef WRITE_SHORT_FIELD 5404 #undef WRITE_SHORT_FIELD
5404 #undef READ_BYTE_FIELD 5405 #undef READ_BYTE_FIELD
5405 #undef WRITE_BYTE_FIELD 5406 #undef WRITE_BYTE_FIELD
5406 5407
5407 5408
5408 } } // namespace v8::internal 5409 } } // namespace v8::internal
5409 5410
5410 #endif // V8_OBJECTS_INL_H_ 5411 #endif // V8_OBJECTS_INL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698