« Previous | Next » 

Revision 00b4b7bb

ID00b4b7bb97c84d19c644a4491fe98170ab9675a6
Parent cbe3941d
Child 15508589

Added by Ben Noordhuis over 11 years ago

buffer: remove minor Buffer::Copy deoptimizations

  • Omit ToObject() call. Buffer::Data() and Buffer::Length() know how
    to deal with Values.
  • Don't check if the argument is undefined because it realistically
    never is and undefined->integer coercion achieves the same thing.

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences