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

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

Issue 8462010: Add a level of indirection to exception handler addresses. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Incorporate review changes. Created 9 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/objects.h ('k') | src/objects-visiting-inl.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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 3865 matching lines...) Expand 10 before | Expand all | Expand 10 after
3876 3876
3877 JSMessageObject* JSMessageObject::cast(Object* obj) { 3877 JSMessageObject* JSMessageObject::cast(Object* obj) {
3878 ASSERT(obj->IsJSMessageObject()); 3878 ASSERT(obj->IsJSMessageObject());
3879 ASSERT(HeapObject::cast(obj)->Size() == JSMessageObject::kSize); 3879 ASSERT(HeapObject::cast(obj)->Size() == JSMessageObject::kSize);
3880 return reinterpret_cast<JSMessageObject*>(obj); 3880 return reinterpret_cast<JSMessageObject*>(obj);
3881 } 3881 }
3882 3882
3883 3883
3884 INT_ACCESSORS(Code, instruction_size, kInstructionSizeOffset) 3884 INT_ACCESSORS(Code, instruction_size, kInstructionSizeOffset)
3885 ACCESSORS(Code, relocation_info, ByteArray, kRelocationInfoOffset) 3885 ACCESSORS(Code, relocation_info, ByteArray, kRelocationInfoOffset)
3886 ACCESSORS(Code, handler_table, FixedArray, kHandlerTableOffset)
3886 ACCESSORS(Code, deoptimization_data, FixedArray, kDeoptimizationDataOffset) 3887 ACCESSORS(Code, deoptimization_data, FixedArray, kDeoptimizationDataOffset)
3887 ACCESSORS(Code, next_code_flushing_candidate, 3888 ACCESSORS(Code, next_code_flushing_candidate,
3888 Object, kNextCodeFlushingCandidateOffset) 3889 Object, kNextCodeFlushingCandidateOffset)
3889 3890
3890 3891
3891 byte* Code::instruction_start() { 3892 byte* Code::instruction_start() {
3892 return FIELD_ADDR(this, kHeaderSize); 3893 return FIELD_ADDR(this, kHeaderSize);
3893 } 3894 }
3894 3895
3895 3896
(...skipping 709 matching lines...) Expand 10 before | Expand all | Expand 10 after
4605 #undef WRITE_INT_FIELD 4606 #undef WRITE_INT_FIELD
4606 #undef READ_SHORT_FIELD 4607 #undef READ_SHORT_FIELD
4607 #undef WRITE_SHORT_FIELD 4608 #undef WRITE_SHORT_FIELD
4608 #undef READ_BYTE_FIELD 4609 #undef READ_BYTE_FIELD
4609 #undef WRITE_BYTE_FIELD 4610 #undef WRITE_BYTE_FIELD
4610 4611
4611 4612
4612 } } // namespace v8::internal 4613 } } // namespace v8::internal
4613 4614
4614 #endif // V8_OBJECTS_INL_H_ 4615 #endif // V8_OBJECTS_INL_H_
OLDNEW
« no previous file with comments | « src/objects.h ('k') | src/objects-visiting-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698