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

Side by Side Diff: src/frames.cc

Issue 148223002: Remove CallICs (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Update test262 status file Created 6 years, 10 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/flag-definitions.h ('k') | src/full-codegen.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 1392 matching lines...) Expand 10 before | Expand all | Expand 10 after
1403 if (trampoline->contains(pc())) { 1403 if (trampoline->contains(pc())) {
1404 return trampoline; 1404 return trampoline;
1405 } 1405 }
1406 1406
1407 StubFailureTrampolineStub(JS_FUNCTION_STUB_MODE). 1407 StubFailureTrampolineStub(JS_FUNCTION_STUB_MODE).
1408 FindCodeInCache(&trampoline, isolate()); 1408 FindCodeInCache(&trampoline, isolate());
1409 if (trampoline->contains(pc())) { 1409 if (trampoline->contains(pc())) {
1410 return trampoline; 1410 return trampoline;
1411 } 1411 }
1412 1412
1413 StubFailureTailCallTrampolineStub().FindCodeInCache(&trampoline, isolate());
1414 if (trampoline->contains(pc())) {
1415 return trampoline;
1416 }
1417
1418 UNREACHABLE(); 1413 UNREACHABLE();
1419 return NULL; 1414 return NULL;
1420 } 1415 }
1421 1416
1422 1417
1423 // ------------------------------------------------------------------------- 1418 // -------------------------------------------------------------------------
1424 1419
1425 1420
1426 JavaScriptFrame* StackFrameLocator::FindJavaScriptFrame(int n) { 1421 JavaScriptFrame* StackFrameLocator::FindJavaScriptFrame(int n) {
1427 ASSERT(n >= 0); 1422 ASSERT(n >= 0);
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
1641 ZoneList<StackFrame*> list(10, zone); 1636 ZoneList<StackFrame*> list(10, zone);
1642 for (StackFrameIterator it(isolate); !it.done(); it.Advance()) { 1637 for (StackFrameIterator it(isolate); !it.done(); it.Advance()) {
1643 StackFrame* frame = AllocateFrameCopy(it.frame(), zone); 1638 StackFrame* frame = AllocateFrameCopy(it.frame(), zone);
1644 list.Add(frame, zone); 1639 list.Add(frame, zone);
1645 } 1640 }
1646 return list.ToVector(); 1641 return list.ToVector();
1647 } 1642 }
1648 1643
1649 1644
1650 } } // namespace v8::internal 1645 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/flag-definitions.h ('k') | src/full-codegen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698