OLD | NEW |
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 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
228 } | 228 } |
229 | 229 |
230 | 230 |
231 inline Object* JavaScriptFrame::function() const { | 231 inline Object* JavaScriptFrame::function() const { |
232 Object* result = function_slot_object(); | 232 Object* result = function_slot_object(); |
233 ASSERT(result->IsJSFunction()); | 233 ASSERT(result->IsJSFunction()); |
234 return result; | 234 return result; |
235 } | 235 } |
236 | 236 |
237 | 237 |
238 inline CompiledFrame::CompiledFrame(StackFrameIterator* iterator) | 238 inline OptimizedFrame::OptimizedFrame(StackFrameIterator* iterator) |
239 : JavaScriptFrame(iterator) { | 239 : JavaScriptFrame(iterator) { |
240 } | 240 } |
241 | 241 |
242 | 242 |
243 inline StubFrame::StubFrame(StackFrameIterator* iterator) | |
244 : CompiledFrame(iterator) { | |
245 } | |
246 | |
247 | |
248 inline OptimizedFrame::OptimizedFrame(StackFrameIterator* iterator) | |
249 : CompiledFrame(iterator) { | |
250 } | |
251 | |
252 | |
253 inline ArgumentsAdaptorFrame::ArgumentsAdaptorFrame( | 243 inline ArgumentsAdaptorFrame::ArgumentsAdaptorFrame( |
254 StackFrameIterator* iterator) : JavaScriptFrame(iterator) { | 244 StackFrameIterator* iterator) : JavaScriptFrame(iterator) { |
255 } | 245 } |
256 | 246 |
257 | 247 |
258 inline InternalFrame::InternalFrame(StackFrameIterator* iterator) | 248 inline InternalFrame::InternalFrame(StackFrameIterator* iterator) |
259 : StandardFrame(iterator) { | 249 : StandardFrame(iterator) { |
260 } | 250 } |
261 | 251 |
262 | 252 |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
329 template<typename Iterator> | 319 template<typename Iterator> |
330 void JavaScriptFrameIteratorTemp<Iterator>::Reset() { | 320 void JavaScriptFrameIteratorTemp<Iterator>::Reset() { |
331 iterator_.Reset(); | 321 iterator_.Reset(); |
332 if (!done()) Advance(); | 322 if (!done()) Advance(); |
333 } | 323 } |
334 | 324 |
335 | 325 |
336 } } // namespace v8::internal | 326 } } // namespace v8::internal |
337 | 327 |
338 #endif // V8_FRAMES_INL_H_ | 328 #endif // V8_FRAMES_INL_H_ |
OLD | NEW |