Chromium Code Reviews| Index: src/codegen.cc |
| =================================================================== |
| --- src/codegen.cc (revision 3774) |
| +++ src/codegen.cc (working copy) |
| @@ -479,6 +479,19 @@ |
| } |
| +int CEntryStub::MinorKey() { |
| + ASSERT(result_size_ <= 2); |
| +#ifdef _WIN64 |
| + const indirect_result = result_size_ > 1; |
|
William Hesse
2010/02/03 06:18:35
This seems really wrong. Either make the type (in
|
| +#else |
| + const bool indirect_result = false; |
| +#endif |
| + |
| + return ExitFrameModeBits::encode(mode_) |
| + | IndirectResultBits::encode(indirect_result > 1); |
|
William Hesse
2010/02/03 06:18:35
Shouldn't this just be indirect_result, not indire
|
| +} |
| + |
| + |
| bool ApiGetterEntryStub::GetCustomCache(Code** code_out) { |
| Object* cache = info()->load_stub_cache(); |
| if (cache->IsUndefined()) { |