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

Side by Side Diff: src/frames.cc

Issue 71783003: Reland and fix "Add support for keyed-call on arrays of fast elements" (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Test + fix Created 7 years, 1 month 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/deoptimizer.cc ('k') | src/heap.h » ('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 1383 matching lines...) Expand 10 before | Expand all | Expand 10 after
1394 if (trampoline->contains(pc())) { 1394 if (trampoline->contains(pc())) {
1395 return trampoline; 1395 return trampoline;
1396 } 1396 }
1397 1397
1398 StubFailureTrampolineStub(JS_FUNCTION_STUB_MODE). 1398 StubFailureTrampolineStub(JS_FUNCTION_STUB_MODE).
1399 FindCodeInCache(&trampoline, isolate()); 1399 FindCodeInCache(&trampoline, isolate());
1400 if (trampoline->contains(pc())) { 1400 if (trampoline->contains(pc())) {
1401 return trampoline; 1401 return trampoline;
1402 } 1402 }
1403 1403
1404 StubFailureTailCallTrampolineStub().FindCodeInCache(&trampoline, isolate());
1405 if (trampoline->contains(pc())) {
1406 return trampoline;
1407 }
1408
1404 UNREACHABLE(); 1409 UNREACHABLE();
1405 return NULL; 1410 return NULL;
1406 } 1411 }
1407 1412
1408 1413
1409 // ------------------------------------------------------------------------- 1414 // -------------------------------------------------------------------------
1410 1415
1411 1416
1412 JavaScriptFrame* StackFrameLocator::FindJavaScriptFrame(int n) { 1417 JavaScriptFrame* StackFrameLocator::FindJavaScriptFrame(int n) {
1413 ASSERT(n >= 0); 1418 ASSERT(n >= 0);
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
1627 ZoneList<StackFrame*> list(10, zone); 1632 ZoneList<StackFrame*> list(10, zone);
1628 for (StackFrameIterator it(isolate); !it.done(); it.Advance()) { 1633 for (StackFrameIterator it(isolate); !it.done(); it.Advance()) {
1629 StackFrame* frame = AllocateFrameCopy(it.frame(), zone); 1634 StackFrame* frame = AllocateFrameCopy(it.frame(), zone);
1630 list.Add(frame, zone); 1635 list.Add(frame, zone);
1631 } 1636 }
1632 return list.ToVector(); 1637 return list.ToVector();
1633 } 1638 }
1634 1639
1635 1640
1636 } } // namespace v8::internal 1641 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/deoptimizer.cc ('k') | src/heap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698