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

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

Issue 1590273002: [runtime] No need to carry around the creation context for JSBoundFunctions. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix debug. Created 4 years, 11 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-debug.cc ('k') | src/profiler/heap-snapshot-generator.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 // Review notes: 5 // Review notes:
6 // 6 //
7 // - The use of macros in these inline functions may seem superfluous 7 // - The use of macros in these inline functions may seem superfluous
8 // but it is absolutely needed to make sure gcc generates optimal 8 // but it is absolutely needed to make sure gcc generates optimal
9 // code. gcc is not happy when attempting to inline too deep. 9 // code. gcc is not happy when attempting to inline too deep.
10 // 10 //
(...skipping 5440 matching lines...) Expand 10 before | Expand all | Expand 10 after
5451 map->unused_property_fields()); 5451 map->unused_property_fields());
5452 } 5452 }
5453 5453
5454 5454
5455 ACCESSORS(JSBoundFunction, length, Object, kLengthOffset) 5455 ACCESSORS(JSBoundFunction, length, Object, kLengthOffset)
5456 ACCESSORS(JSBoundFunction, name, Object, kNameOffset) 5456 ACCESSORS(JSBoundFunction, name, Object, kNameOffset)
5457 ACCESSORS(JSBoundFunction, bound_target_function, JSReceiver, 5457 ACCESSORS(JSBoundFunction, bound_target_function, JSReceiver,
5458 kBoundTargetFunctionOffset) 5458 kBoundTargetFunctionOffset)
5459 ACCESSORS(JSBoundFunction, bound_this, Object, kBoundThisOffset) 5459 ACCESSORS(JSBoundFunction, bound_this, Object, kBoundThisOffset)
5460 ACCESSORS(JSBoundFunction, bound_arguments, FixedArray, kBoundArgumentsOffset) 5460 ACCESSORS(JSBoundFunction, bound_arguments, FixedArray, kBoundArgumentsOffset)
5461 ACCESSORS(JSBoundFunction, creation_context, Context, kCreationContextOffset)
5462 5461
5463 ACCESSORS(JSFunction, shared, SharedFunctionInfo, kSharedFunctionInfoOffset) 5462 ACCESSORS(JSFunction, shared, SharedFunctionInfo, kSharedFunctionInfoOffset)
5464 ACCESSORS(JSFunction, literals, LiteralsArray, kLiteralsOffset) 5463 ACCESSORS(JSFunction, literals, LiteralsArray, kLiteralsOffset)
5465 ACCESSORS(JSFunction, next_function_link, Object, kNextFunctionLinkOffset) 5464 ACCESSORS(JSFunction, next_function_link, Object, kNextFunctionLinkOffset)
5466 5465
5467 ACCESSORS(JSGlobalObject, native_context, Context, kNativeContextOffset) 5466 ACCESSORS(JSGlobalObject, native_context, Context, kNativeContextOffset)
5468 ACCESSORS(JSGlobalObject, global_proxy, JSObject, kGlobalProxyOffset) 5467 ACCESSORS(JSGlobalObject, global_proxy, JSObject, kGlobalProxyOffset)
5469 5468
5470 ACCESSORS(JSGlobalProxy, native_context, Object, kNativeContextOffset) 5469 ACCESSORS(JSGlobalProxy, native_context, Object, kNativeContextOffset)
5471 ACCESSORS(JSGlobalProxy, hash, Object, kHashOffset) 5470 ACCESSORS(JSGlobalProxy, hash, Object, kHashOffset)
(...skipping 2338 matching lines...) Expand 10 before | Expand all | Expand 10 after
7810 #undef WRITE_INT64_FIELD 7809 #undef WRITE_INT64_FIELD
7811 #undef READ_BYTE_FIELD 7810 #undef READ_BYTE_FIELD
7812 #undef WRITE_BYTE_FIELD 7811 #undef WRITE_BYTE_FIELD
7813 #undef NOBARRIER_READ_BYTE_FIELD 7812 #undef NOBARRIER_READ_BYTE_FIELD
7814 #undef NOBARRIER_WRITE_BYTE_FIELD 7813 #undef NOBARRIER_WRITE_BYTE_FIELD
7815 7814
7816 } // namespace internal 7815 } // namespace internal
7817 } // namespace v8 7816 } // namespace v8
7818 7817
7819 #endif // V8_OBJECTS_INL_H_ 7818 #endif // V8_OBJECTS_INL_H_
OLDNEW
« no previous file with comments | « src/objects-debug.cc ('k') | src/profiler/heap-snapshot-generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698