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

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

Issue 2803853005: Inline Array.prototype.forEach in TurboFan (Closed)
Patch Set: Review feedback Created 3 years, 7 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
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_FRAMES_INL_H_ 5 #ifndef V8_FRAMES_INL_H_
6 #define V8_FRAMES_INL_H_ 6 #define V8_FRAMES_INL_H_
7 7
8 #include "src/frames.h" 8 #include "src/frames.h"
9 #include "src/isolate.h" 9 #include "src/isolate.h"
10 #include "src/objects-inl.h" 10 #include "src/objects-inl.h"
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after
272 272
273 inline StubFailureTrampolineFrame::StubFailureTrampolineFrame( 273 inline StubFailureTrampolineFrame::StubFailureTrampolineFrame(
274 StackFrameIteratorBase* iterator) : StandardFrame(iterator) { 274 StackFrameIteratorBase* iterator) : StandardFrame(iterator) {
275 } 275 }
276 276
277 277
278 inline ConstructFrame::ConstructFrame(StackFrameIteratorBase* iterator) 278 inline ConstructFrame::ConstructFrame(StackFrameIteratorBase* iterator)
279 : InternalFrame(iterator) { 279 : InternalFrame(iterator) {
280 } 280 }
281 281
282 inline BuiltinContinuationFrame::BuiltinContinuationFrame(
283 StackFrameIteratorBase* iterator)
284 : InternalFrame(iterator) {}
285
282 inline JavaScriptFrameIterator::JavaScriptFrameIterator( 286 inline JavaScriptFrameIterator::JavaScriptFrameIterator(
283 Isolate* isolate) 287 Isolate* isolate)
284 : iterator_(isolate) { 288 : iterator_(isolate) {
285 if (!done()) Advance(); 289 if (!done()) Advance();
286 } 290 }
287 291
288 inline JavaScriptFrameIterator::JavaScriptFrameIterator( 292 inline JavaScriptFrameIterator::JavaScriptFrameIterator(
289 Isolate* isolate, ThreadLocalTop* top) 293 Isolate* isolate, ThreadLocalTop* top)
290 : iterator_(isolate, top) { 294 : iterator_(isolate, top) {
291 if (!done()) Advance(); 295 if (!done()) Advance();
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
323 DCHECK(frame_->is_java_script() || frame_->is_exit() || 327 DCHECK(frame_->is_java_script() || frame_->is_exit() ||
324 frame_->is_builtin_exit()); 328 frame_->is_builtin_exit());
325 return frame_; 329 return frame_;
326 } 330 }
327 331
328 332
329 } // namespace internal 333 } // namespace internal
330 } // namespace v8 334 } // namespace v8
331 335
332 #endif // V8_FRAMES_INL_H_ 336 #endif // V8_FRAMES_INL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698