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

Side by Side Diff: src/frames.cc

Issue 110573004: Merge bleeding_edge 17696:18016. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/parser
Patch Set: Created 7 years 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
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 20 matching lines...) Expand all
31 #include "deoptimizer.h" 31 #include "deoptimizer.h"
32 #include "frames-inl.h" 32 #include "frames-inl.h"
33 #include "full-codegen.h" 33 #include "full-codegen.h"
34 #include "lazy-instance.h" 34 #include "lazy-instance.h"
35 #include "mark-compact.h" 35 #include "mark-compact.h"
36 #include "safepoint-table.h" 36 #include "safepoint-table.h"
37 #include "scopeinfo.h" 37 #include "scopeinfo.h"
38 #include "string-stream.h" 38 #include "string-stream.h"
39 #include "vm-state-inl.h" 39 #include "vm-state-inl.h"
40 40
41 #include "allocation-inl.h"
42
43 namespace v8 { 41 namespace v8 {
44 namespace internal { 42 namespace internal {
45 43
46 44
47 ReturnAddressLocationResolver 45 ReturnAddressLocationResolver
48 StackFrame::return_address_location_resolver_ = NULL; 46 StackFrame::return_address_location_resolver_ = NULL;
49 47
50 48
51 // Iterator that supports traversing the stack handlers of a 49 // Iterator that supports traversing the stack handlers of a
52 // particular frame. Needs to know the top of the handler chain. 50 // particular frame. Needs to know the top of the handler chain.
(...skipping 1341 matching lines...) Expand 10 before | Expand all | Expand 10 after
1394 if (trampoline->contains(pc())) { 1392 if (trampoline->contains(pc())) {
1395 return trampoline; 1393 return trampoline;
1396 } 1394 }
1397 1395
1398 StubFailureTrampolineStub(JS_FUNCTION_STUB_MODE). 1396 StubFailureTrampolineStub(JS_FUNCTION_STUB_MODE).
1399 FindCodeInCache(&trampoline, isolate()); 1397 FindCodeInCache(&trampoline, isolate());
1400 if (trampoline->contains(pc())) { 1398 if (trampoline->contains(pc())) {
1401 return trampoline; 1399 return trampoline;
1402 } 1400 }
1403 1401
1402 StubFailureTailCallTrampolineStub().FindCodeInCache(&trampoline, isolate());
1403 if (trampoline->contains(pc())) {
1404 return trampoline;
1405 }
1406
1404 UNREACHABLE(); 1407 UNREACHABLE();
1405 return NULL; 1408 return NULL;
1406 } 1409 }
1407 1410
1408 1411
1409 // ------------------------------------------------------------------------- 1412 // -------------------------------------------------------------------------
1410 1413
1411 1414
1412 JavaScriptFrame* StackFrameLocator::FindJavaScriptFrame(int n) { 1415 JavaScriptFrame* StackFrameLocator::FindJavaScriptFrame(int n) {
1413 ASSERT(n >= 0); 1416 ASSERT(n >= 0);
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
1627 ZoneList<StackFrame*> list(10, zone); 1630 ZoneList<StackFrame*> list(10, zone);
1628 for (StackFrameIterator it(isolate); !it.done(); it.Advance()) { 1631 for (StackFrameIterator it(isolate); !it.done(); it.Advance()) {
1629 StackFrame* frame = AllocateFrameCopy(it.frame(), zone); 1632 StackFrame* frame = AllocateFrameCopy(it.frame(), zone);
1630 list.Add(frame, zone); 1633 list.Add(frame, zone);
1631 } 1634 }
1632 return list.ToVector(); 1635 return list.ToVector();
1633 } 1636 }
1634 1637
1635 1638
1636 } } // namespace v8::internal 1639 } } // namespace v8::internal
OLDNEW
« include/v8-platform.h ('K') | « src/frames.h ('k') | src/full-codegen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698