diff options
| author | Jesse Wilson <jwilson@squareup.com> | 2012-09-01 01:01:05 -0400 |
|---|---|---|
| committer | Xavier Ducrohet <xav@android.com> | 2012-09-06 12:48:35 -0700 |
| commit | 52dc08d463f7c44a01acacfd30d23768c73fa78a (patch) | |
| tree | 427f362f8967931dcabffb12ef4f50ab1b02776b /vm/compiler/codegen/x86/CodegenInterface.cpp | |
| parent | 963b13a8d955af94bffa1231a79614f3e7f7a1e5 (diff) | |
Fix a bug where the max blowup of annotations was incorrect. do not merge.
I'm not sure where the 1.34 number comes from but it's incorrect.
From the spec, the encoded_annotation is made up of a single byte
plus an unlimited number of uleb128 values. Each of these values
can double in width in the worst case. I received (personal) email
from one user who'd run into a case worse than the incorrect 1.34
limit.
(cherry picked from commit bf7dfeea94f21dd0e097cf5f786f9995722fd70d)
Change-Id: I033a0d76ea0324d434d732e7757df0c3fd925b68
Diffstat (limited to 'vm/compiler/codegen/x86/CodegenInterface.cpp')
0 files changed, 0 insertions, 0 deletions
