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

Unified Diff: src/spaces.cc

Issue 26002002: MIPS: Hydrogenisation of binops (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: add comment Created 7 years, 2 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
« no previous file with comments | « src/mips/code-stubs-mips.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/spaces.cc
diff --git a/src/spaces.cc b/src/spaces.cc
index a6980139aea963a7511c23462d4017f5319ac96c..b7fa32d4d6bc1fb033b00ffdf481972a8bc23d73 100644
--- a/src/spaces.cc
+++ b/src/spaces.cc
@@ -1077,7 +1077,14 @@ intptr_t PagedSpace::SizeOfFirstPage() {
// upgraded to handle small pages.
size = AreaSize();
} else {
+#if V8_TARGET_ARCH_MIPS
+ // On MIPS, code stubs seem to be quite a bit larger.
+ // TODO(olivf/MIPS folks): Can we do anything about this? Does it
+ // indicate the presence of a bug?
+ size = 464 * KB;
+#else
size = 416 * KB;
+#endif
}
break;
default:
« no previous file with comments | « src/mips/code-stubs-mips.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698