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

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

Issue 159013002: Remove obsolete stack trace string in a message object. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 10 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-debug.cc ('k') | src/objects-printer.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 // 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 5662 matching lines...) Expand 10 before | Expand all | Expand 10 after
5673 JSDate* JSDate::cast(Object* obj) { 5673 JSDate* JSDate::cast(Object* obj) {
5674 ASSERT(obj->IsJSDate()); 5674 ASSERT(obj->IsJSDate());
5675 ASSERT(HeapObject::cast(obj)->Size() == JSDate::kSize); 5675 ASSERT(HeapObject::cast(obj)->Size() == JSDate::kSize);
5676 return reinterpret_cast<JSDate*>(obj); 5676 return reinterpret_cast<JSDate*>(obj);
5677 } 5677 }
5678 5678
5679 5679
5680 ACCESSORS(JSMessageObject, type, String, kTypeOffset) 5680 ACCESSORS(JSMessageObject, type, String, kTypeOffset)
5681 ACCESSORS(JSMessageObject, arguments, JSArray, kArgumentsOffset) 5681 ACCESSORS(JSMessageObject, arguments, JSArray, kArgumentsOffset)
5682 ACCESSORS(JSMessageObject, script, Object, kScriptOffset) 5682 ACCESSORS(JSMessageObject, script, Object, kScriptOffset)
5683 ACCESSORS(JSMessageObject, stack_trace, Object, kStackTraceOffset)
5684 ACCESSORS(JSMessageObject, stack_frames, Object, kStackFramesOffset) 5683 ACCESSORS(JSMessageObject, stack_frames, Object, kStackFramesOffset)
5685 SMI_ACCESSORS(JSMessageObject, start_position, kStartPositionOffset) 5684 SMI_ACCESSORS(JSMessageObject, start_position, kStartPositionOffset)
5686 SMI_ACCESSORS(JSMessageObject, end_position, kEndPositionOffset) 5685 SMI_ACCESSORS(JSMessageObject, end_position, kEndPositionOffset)
5687 5686
5688 5687
5689 JSMessageObject* JSMessageObject::cast(Object* obj) { 5688 JSMessageObject* JSMessageObject::cast(Object* obj) {
5690 ASSERT(obj->IsJSMessageObject()); 5689 ASSERT(obj->IsJSMessageObject());
5691 ASSERT(HeapObject::cast(obj)->Size() == JSMessageObject::kSize); 5690 ASSERT(HeapObject::cast(obj)->Size() == JSMessageObject::kSize);
5692 return reinterpret_cast<JSMessageObject*>(obj); 5691 return reinterpret_cast<JSMessageObject*>(obj);
5693 } 5692 }
(...skipping 1096 matching lines...) Expand 10 before | Expand all | Expand 10 after
6790 #undef READ_UINT32_FIELD 6789 #undef READ_UINT32_FIELD
6791 #undef WRITE_UINT32_FIELD 6790 #undef WRITE_UINT32_FIELD
6792 #undef READ_SHORT_FIELD 6791 #undef READ_SHORT_FIELD
6793 #undef WRITE_SHORT_FIELD 6792 #undef WRITE_SHORT_FIELD
6794 #undef READ_BYTE_FIELD 6793 #undef READ_BYTE_FIELD
6795 #undef WRITE_BYTE_FIELD 6794 #undef WRITE_BYTE_FIELD
6796 6795
6797 } } // namespace v8::internal 6796 } } // namespace v8::internal
6798 6797
6799 #endif // V8_OBJECTS_INL_H_ 6798 #endif // V8_OBJECTS_INL_H_
OLDNEW
« no previous file with comments | « src/objects-debug.cc ('k') | src/objects-printer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698