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

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

Issue 10105026: Version 3.10.3 (Closed) Base URL: http://v8.googlecode.com/svn/trunk/
Patch Set: Created 8 years, 8 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-visiting.cc ('k') | src/parser.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 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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 65
66 table_.Register(kVisitSharedFunctionInfo, 66 table_.Register(kVisitSharedFunctionInfo,
67 &FixedBodyVisitor<StaticVisitor, 67 &FixedBodyVisitor<StaticVisitor,
68 SharedFunctionInfo::BodyDescriptor, 68 SharedFunctionInfo::BodyDescriptor,
69 int>::Visit); 69 int>::Visit);
70 70
71 table_.Register(kVisitSeqAsciiString, &VisitSeqAsciiString); 71 table_.Register(kVisitSeqAsciiString, &VisitSeqAsciiString);
72 72
73 table_.Register(kVisitSeqTwoByteString, &VisitSeqTwoByteString); 73 table_.Register(kVisitSeqTwoByteString, &VisitSeqTwoByteString);
74 74
75 table_.Register(kVisitJSFunction, 75 table_.Register(kVisitJSFunction, &VisitJSFunction);
76 &JSObjectVisitor::
77 template VisitSpecialized<JSFunction::kSize>);
78 76
79 table_.Register(kVisitFreeSpace, &VisitFreeSpace); 77 table_.Register(kVisitFreeSpace, &VisitFreeSpace);
80 78
81 table_.Register(kVisitJSWeakMap, &JSObjectVisitor::Visit); 79 table_.Register(kVisitJSWeakMap, &JSObjectVisitor::Visit);
82 80
83 table_.Register(kVisitJSRegExp, &JSObjectVisitor::Visit); 81 table_.Register(kVisitJSRegExp, &JSObjectVisitor::Visit);
84 82
85 table_.template RegisterSpecializations<DataObjectVisitor, 83 table_.template RegisterSpecializations<DataObjectVisitor,
86 kVisitDataObject, 84 kVisitDataObject,
87 kVisitDataObjectGeneric>(); 85 kVisitDataObjectGeneric>();
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 RelocIterator it(this, mode_mask); 144 RelocIterator it(this, mode_mask);
147 for (; !it.done(); it.next()) { 145 for (; !it.done(); it.next()) {
148 it.rinfo()->template Visit<StaticVisitor>(heap); 146 it.rinfo()->template Visit<StaticVisitor>(heap);
149 } 147 }
150 } 148 }
151 149
152 150
153 } } // namespace v8::internal 151 } } // namespace v8::internal
154 152
155 #endif // V8_OBJECTS_VISITING_INL_H_ 153 #endif // V8_OBJECTS_VISITING_INL_H_
OLDNEW
« no previous file with comments | « src/objects-visiting.cc ('k') | src/parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698