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

Unified Diff: src/ia32/code-stubs-ia32.cc

Issue 9297019: Fix and adapt debugger for new call target caches. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 11 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 side-by-side diff with in-line comments
Download patch
« src/code-stubs.h ('K') | « src/debug.cc ('k') | src/ia32/debug-ia32.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ia32/code-stubs-ia32.cc
diff --git a/src/ia32/code-stubs-ia32.cc b/src/ia32/code-stubs-ia32.cc
index 77048cb5d3e7d924553ba7464a4b167ee8acdd0b..6d8a75fc272fb3763beffd5f2abd36d129dc0fa3 100644
--- a/src/ia32/code-stubs-ia32.cc
+++ b/src/ia32/code-stubs-ia32.cc
@@ -4702,6 +4702,11 @@ void CallFunctionStub::Generate(MacroAssembler* masm) {
}
+void CallFunctionStub::FinishCode(Handle<Code> code) {
+ code->set_has_function_cache(RecordCallTarget());
+}
+
+
void CallConstructStub::Generate(MacroAssembler* masm) {
// eax : number of arguments
// ebx : cache cell for call target
@@ -4746,6 +4751,11 @@ void CallConstructStub::Generate(MacroAssembler* masm) {
}
+void CallConstructStub::FinishCode(Handle<Code> code) {
+ code->set_has_function_cache(RecordCallTarget());
+}
+
+
bool CEntryStub::NeedsImmovableCode() {
return false;
}
« src/code-stubs.h ('K') | « src/debug.cc ('k') | src/ia32/debug-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698