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/objects-inl.h

Issue 17600006: CPUProfiler: It is not clear why we are using Handle<Object> for scriptId. Lets flip it into Smi/in… (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: comments addressed Created 7 years, 6 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
« no previous file with comments | « src/objects.h ('k') | no next file » | 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 // 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 4433 matching lines...) Expand 10 before | Expand all | Expand 10 after
4444 4444
4445 ACCESSORS(SignatureInfo, receiver, Object, kReceiverOffset) 4445 ACCESSORS(SignatureInfo, receiver, Object, kReceiverOffset)
4446 ACCESSORS(SignatureInfo, args, Object, kArgsOffset) 4446 ACCESSORS(SignatureInfo, args, Object, kArgsOffset)
4447 4447
4448 ACCESSORS(TypeSwitchInfo, types, Object, kTypesOffset) 4448 ACCESSORS(TypeSwitchInfo, types, Object, kTypesOffset)
4449 4449
4450 ACCESSORS(AllocationSiteInfo, payload, Object, kPayloadOffset) 4450 ACCESSORS(AllocationSiteInfo, payload, Object, kPayloadOffset)
4451 4451
4452 ACCESSORS(Script, source, Object, kSourceOffset) 4452 ACCESSORS(Script, source, Object, kSourceOffset)
4453 ACCESSORS(Script, name, Object, kNameOffset) 4453 ACCESSORS(Script, name, Object, kNameOffset)
4454 ACCESSORS(Script, id, Object, kIdOffset) 4454 ACCESSORS(Script, id, Smi, kIdOffset)
4455 ACCESSORS_TO_SMI(Script, line_offset, kLineOffsetOffset) 4455 ACCESSORS_TO_SMI(Script, line_offset, kLineOffsetOffset)
4456 ACCESSORS_TO_SMI(Script, column_offset, kColumnOffsetOffset) 4456 ACCESSORS_TO_SMI(Script, column_offset, kColumnOffsetOffset)
4457 ACCESSORS(Script, data, Object, kDataOffset) 4457 ACCESSORS(Script, data, Object, kDataOffset)
4458 ACCESSORS(Script, context_data, Object, kContextOffset) 4458 ACCESSORS(Script, context_data, Object, kContextOffset)
4459 ACCESSORS(Script, wrapper, Foreign, kWrapperOffset) 4459 ACCESSORS(Script, wrapper, Foreign, kWrapperOffset)
4460 ACCESSORS_TO_SMI(Script, type, kTypeOffset) 4460 ACCESSORS_TO_SMI(Script, type, kTypeOffset)
4461 ACCESSORS_TO_SMI(Script, compilation_type, kCompilationTypeOffset) 4461 ACCESSORS_TO_SMI(Script, compilation_type, kCompilationTypeOffset)
4462 ACCESSORS_TO_SMI(Script, compilation_state, kCompilationStateOffset) 4462 ACCESSORS_TO_SMI(Script, compilation_state, kCompilationStateOffset)
4463 ACCESSORS(Script, line_ends, Object, kLineEndsOffset) 4463 ACCESSORS(Script, line_ends, Object, kLineEndsOffset)
4464 ACCESSORS(Script, eval_from_shared, Object, kEvalFromSharedOffset) 4464 ACCESSORS(Script, eval_from_shared, Object, kEvalFromSharedOffset)
(...skipping 1725 matching lines...) Expand 10 before | Expand all | Expand 10 after
6190 #undef WRITE_UINT32_FIELD 6190 #undef WRITE_UINT32_FIELD
6191 #undef READ_SHORT_FIELD 6191 #undef READ_SHORT_FIELD
6192 #undef WRITE_SHORT_FIELD 6192 #undef WRITE_SHORT_FIELD
6193 #undef READ_BYTE_FIELD 6193 #undef READ_BYTE_FIELD
6194 #undef WRITE_BYTE_FIELD 6194 #undef WRITE_BYTE_FIELD
6195 6195
6196 6196
6197 } } // namespace v8::internal 6197 } } // namespace v8::internal
6198 6198
6199 #endif // V8_OBJECTS_INL_H_ 6199 #endif // V8_OBJECTS_INL_H_
OLDNEW
« no previous file with comments | « src/objects.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698