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

Unified Diff: src/compiler.cc

Issue 12385014: Hydrogen stubs for array constructors (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: With all ports done Created 7 years, 8 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
Index: src/compiler.cc
diff --git a/src/compiler.cc b/src/compiler.cc
index 184429b41752a713c772d05b947571621e561877..5c4e237e9ef0c63662e843b963a4902ea630fac0 100644
--- a/src/compiler.cc
+++ b/src/compiler.cc
@@ -126,7 +126,7 @@ CompilationInfo::~CompilationInfo() {
int CompilationInfo::num_parameters() const {
if (IsStub()) {
- return 0;
+ return -1;
Hannes Payer (out of office) 2013/04/18 11:14:39 Do we need that special case?
mvstanton 2013/04/18 13:39:26 Indeed no, and I protected the region with ASSERT(
} else {
return scope()->num_parameters();
}

Powered by Google App Engine
This is Rietveld 408576698