Chromium Code Reviews| 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(); |
| } |