- 25 May, 2010 2 commits
-
-
ricow@chromium.org authored
Noticing that the only difference between samevalue and strict equality is on numbers we can simplify SameValue. The old version did not return a correct answer if called on two strings since StringEquals (from runtime.cc) returns an answer that is the negated value (if treated as a boolean). Review URL: http://codereview.chromium.org/2136024 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@4713 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
ricow@chromium.org authored
Object.defineProperty with empty property descriptor. The issue is fixed by implementing step 5 and 6 from DefineOwnProperty in the specification (ES5 8.12.9). This also fixes a bug in SameValue when used on boolean values (it would priorly return a number - not a boolean). Review URL: http://codereview.chromium.org/2131019 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@4708 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 10 May, 2010 1 commit
-
-
ricow@chromium.org authored
v8natives and runtime.js updated to use new macro and simplified when possible. Review URL: http://codereview.chromium.org/2006008 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@4626 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 04 May, 2010 1 commit
-
-
podivilov@chromium.org authored
Review URL: http://codereview.chromium.org/1769014 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@4573 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 07 Apr, 2010 1 commit
-
-
sgjesse@chromium.org authored
Add number string cache lookup for heap numbers to generatred code (on top of the already existing smi lookup) Added a number to string runtime function which does not try to do a cache lookup as the number is known to not be in the cahce. Review URL: http://codereview.chromium.org/1602010 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@4355 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 30 Mar, 2010 1 commit
-
-
kmillikin@chromium.org authored
Removed trailing whitespace using regexp replace. No other changes. Review URL: http://codereview.chromium.org/1559006 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@4314 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 26 Feb, 2010 1 commit
-
-
vitalyr@chromium.org authored
This speeds up string,charAt(n) and string[n]. Review URL: http://codereview.chromium.org/660184 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3980 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 19 Feb, 2010 1 commit
-
-
vitalyr@chromium.org authored
* Inlined checks for strings and regexps. * Rewrote split for the non-regexp case. * Implemented one-char case for lastIndexOf. Review URL: http://codereview.chromium.org/596122 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3917 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 17 Feb, 2010 1 commit
-
-
kmillikin@chromium.org authored
Fix for issue 603. Revision r3484 removed the property name from the call stack for call ICs. When a non-function was called via a call IC and Function.prototype.call, an extra value was left on the stack that the caller could not know to clean up. Fix is to change the JS builtin used for calling non-functions. It now gets the callee as receiver, rather than iterating stack frames and finding it on the expression stack of its JS caller. Review URL: http://codereview.chromium.org/604064 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3882 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 16 Feb, 2010 1 commit
-
-
sgjesse@chromium.org authored
NumberToString in runtime JavaScript is inlined through a call to a stub. Currently the stub only checks the number string cache and only if the number is a smi. Code is shared with the inlining of number string cache lookup when adding a smi to a string. Review URL: http://codereview.chromium.org/604062 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3865 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 03 Feb, 2010 1 commit
-
-
ricow@chromium.org authored
DefineOwnProperty (changed to allow for redefinition of existing property) SameValue Extra info on propertydescriptor GetProperty HasProperty Currently the DefineOrRedefineAccessorProperty deletes the existing property on the object if it is a dataproperty (FIELD or NORMAL) and adds a new one. This can potentially be optimized. Review URL: http://codereview.chromium.org/555149 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3786 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 19 Jan, 2010 1 commit
-
-
sgjesse@chromium.org authored
The implementation of Object.prototype.valueOf and Object.prototype.toString now calls ToObject on "this" as mandated by the spec. Review URL: http://codereview.chromium.org/542112 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3651 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 13 Jan, 2010 1 commit
-
-
ager@chromium.org authored
Review URL: http://codereview.chromium.org/536042 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3597 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 12 Jan, 2010 1 commit
-
-
ager@chromium.org authored
fixups code on ARM. Review URL: http://codereview.chromium.org/545025 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3583 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 08 Jan, 2010 1 commit
-
-
sgjesse@chromium.org authored
Careted a stub for string comparison and used part of the code from that to inline string comparison in the compare stub. Review URL: http://codereview.chromium.org/525115 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3569 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 07 Jan, 2010 2 commits
-
-
fschneider@chromium.org authored
Instead of going through a runtime function for keyed loads on strings we invoke a separate specialized stub that assumes string as receiver type and the key to be a number. The stub calls a JS builtin function to return the corresponding one-character string. Review URL: http://codereview.chromium.org/521041 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3556 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
kasperl@chromium.org authored
for compare operations. Review URL: http://codereview.chromium.org/521054 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3553 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 06 Jan, 2010 2 commits
-
-
kasperl@chromium.org authored
seems somewhat broken on ARM, but this solves the issue for now. I'll look into the code patching tomorrow. Review URL: http://codereview.chromium.org/525068 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3546 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
kasperl@chromium.org authored
by tweaking the JavaScript implementation of these functions. Review URL: http://codereview.chromium.org/519061 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3545 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 14 Dec, 2009 1 commit
-
-
kasperl@chromium.org authored
Review URL: http://codereview.chromium.org/496008 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3462 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 03 Dec, 2009 1 commit
-
-
sgjesse@chromium.org authored
This adds a code stub which can do most of what Heap::AllocateConsString can do. It bails out if the result cannot fit in new space or if the result is a short (flat) string and one argument is an ascii string and the other a two byte string. It also bails out if adding two one character strings as Heap::AllocateConsString has special handling of this utilizing the symbol table. The stub is used both for the binary add operation and for StringAdd calls from runtime JavaScript files. Extended the string add test to cover all sizes of flat result stings. Review URL: http://codereview.chromium.org/442024 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3400 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 28 Oct, 2009 1 commit
-
-
ager@chromium.org authored
Review URL: http://codereview.chromium.org/344010 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3158 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 03 Jul, 2009 1 commit
-
-
kasperl@chromium.org authored
string objects (not values). Review URL: http://codereview.chromium.org/149177 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2350 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 29 Jun, 2009 1 commit
-
-
kasperl@chromium.org authored
custom %HasXXXClass() calls. Review URL: http://codereview.chromium.org/151018 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2293 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 24 Jun, 2009 1 commit
-
-
kasperl@chromium.org authored
This allows Function.prototype.apply to not allocate the objects and copy the arguments directly from the stack. Review URL: http://codereview.chromium.org/147075 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2256 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 16 Jun, 2009 1 commit
-
-
kasperl@chromium.org authored
when the left operand lets us shortcut the computation. Review URL: http://codereview.chromium.org/125176 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2179 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 15 Jun, 2009 1 commit
-
-
kasperl@chromium.org authored
avoiding excessive ToNumber calls and by dealing with NaNs in BIT_AND and SAR. Review URL: http://codereview.chromium.org/125118 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2163 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 20 May, 2009 1 commit
-
-
sgjesse@chromium.org authored
Propagate information on whether a non function was called as constructor or not.The Arguments object passed to the callback now has IsConstructCall set accordingly.BUG=http://crbug.com/3285 Review URL: http://codereview.chromium.org/113634 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2020 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 03 Apr, 2009 3 commits
-
-
whesse@chromium.org authored
Review URL: http://codereview.chromium.org/56151 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1677 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
lrn@chromium.org authored
Special case for NaN in equality test. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1676 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
lrn@chromium.org authored
Uses static string type to optimize string additions. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1675 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 28 Oct, 2008 1 commit
-
-
feng@chromium.org authored
Review URL: http://codereview.chromium.org/7979 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@614 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 17 Oct, 2008 1 commit
-
-
bak@chromium.org authored
Review URL: http://codereview.chromium.org/7475 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@520 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 10 Oct, 2008 1 commit
-
-
kasperl@chromium.org authored
more work in the CompareStub. I'll port this to ARM once I'm satisfied with the performance improvements. Review URL: http://codereview.chromium.org/7014 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@481 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 08 Oct, 2008 1 commit
-
-
kasperl@chromium.org authored
and extended the instanceof test case. Review URL: http://codereview.chromium.org/6341 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@470 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 07 Oct, 2008 2 commits
-
-
bak@chromium.org authored
I eliminated the fast case check in ToPrimitive. Review URL: http://codereview.chromium.org/6534 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@461 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
bak@chromium.org authored
- Added the FLOOR macro that only works on Number objects. - Added LocalTimeNoCheck in the date code to eliminate some isNaN checks. - Change computation of four_year_cycle_table to load time. - Added fast case check to EQUALS and STRICT_EQUALS. Review URL: http://codereview.chromium.org/6531 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@458 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 03 Oct, 2008 1 commit
-
-
ager@chromium.org authored
names. - Set the correct name of library functions. - Set the name of C++ callback functions. - Clean up a couple of out-dated comments related to literal creation. Review URL: http://codereview.chromium.org/6223 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@414 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 10 Sep, 2008 1 commit
-
-
christian.plesner.hansen@gmail.com authored
uses of String::AsciiValue with String::Utf8Value. Fixed shell sample 'load' so it doesn't print error messages. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@254 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 09 Sep, 2008 1 commit
-
-
christian.plesner.hansen@gmail.com authored
Added presubmit step to check copyright. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@242 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-