DescriptionCodify the assumption that %GetArrayKeys can return only a single interval starting at zero
This patch adds comments explaining the interface in runtime.cc and simplifies
all callers given these assumptions (e.g., no need to loop over intervals, or
calculate where the interval starts).
Took care of some unrelated issues in the edited code:
- Fixes one use of [] to InternalArray
- Removed a bunch of comments referring to ES3 which no longer hold in ES5
Committed: https://code.google.com/p/v8/source/detail?r=14125
Patch Set 1 #
Total comments: 4
Patch Set 2 : Return a single number for an interval #
Messages
Total messages: 7 (0 generated)
|