- 22 Aug, 2011 1 commit
-
-
lrn@chromium.org authored
TEST=message/replacement-marker-as-argument Review URL: http://codereview.chromium.org/7696024 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8985 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 19 Aug, 2011 1 commit
-
-
lrn@chromium.org authored
BUG=v8:1628 TEST=mjsunit/regress/regress-219 Review URL: http://codereview.chromium.org/7624045 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8973 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 18 Aug, 2011 2 commits
-
-
lrn@chromium.org authored
I.e., don't just convert \u to u in identifiers (like in strings and regexps). Also make the scanning of RegExp flags not interpret the escapes. (Fix and reapply of r8942) BUG=v8:1620 TEST=mjsunit/regress/regress-1620 Review URL: http://codereview.chromium.org/7677012 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8969 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
ricow@chromium.org authored
Use InternalArray in Object.defineProperties to avoid issues with overwriten properties on Array.prototype TEST=mjsunit/regress/regress-1625 BUG=v8:1625 Review URL: http://codereview.chromium.org/7631039 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8964 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 17 Aug, 2011 4 commits
-
-
danno@chromium.org authored
BUG=none TEST=cctest/test-api/IndexedInterceptorNonStrictArgsWithIndexedAccessor Review URL: http://codereview.chromium.org/7657011 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8963 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
keuchel@chromium.org authored
BUG= TEST= Review URL: http://codereview.chromium.org/7676003 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8956 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
mikhail.naganov@gmail.com authored
We can pick the namespace alias 'i' from v8.h which is already included in those files. BUG=None TEST=None R=mnaganov@chromium.org Signed-off-by:
Thiago Farina <tfarina@chromium.org> Review URL: http://codereview.chromium.org/7621035 -------------- Inline the implementation of Handle default ctor. BUG=None TEST=None R=mnaganov@chromium.org Signed-off-by:
Thiago Farina <tfarina@chromium.org> Review URL: http://codereview.chromium.org/7669013 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8953 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
ricow@chromium.org authored
This is causing webkit failures, reverting until we figure out if this is a V8 regression or wrong test expectations. Review URL: http://codereview.chromium.org/7669017 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8947 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 16 Aug, 2011 3 commits
-
-
keuchel@chromium.org authored
Implementation of the harmony block scoped let bindings as proposed here: http://wiki.ecmascript.org/doku.php?id=harmony:block_scoped_bindings Changes to the syntax are explained there. They are active under the harmony_block_scoping_ flag in the parser. Review URL: http://codereview.chromium.org/7616009 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8944 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
lrn@chromium.org authored
BUG=v8:1620 TEST=mjsunit/regress/regress-1620 Review URL: http://codereview.chromium.org/7663005 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8942 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
mstarzinger@chromium.org authored
The WeakMap constructor didn't have a unique prototype, so it shared one with Object. All WeakMap functions (including "get" and "set") were installed on that prototype. R=rossberg@chromium.org BUG=v8:1617 TEST=mjsunit/harmony/weakmaps Review URL: http://codereview.chromium.org/7658008 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8941 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 12 Aug, 2011 3 commits
-
-
kmillikin@chromium.org authored
Remove the try/finally used for with and catch. Instead of using try/finally to handle break and continue from with or catch, statically track nesting dept and clean up when compiling break or continue. And instead of using try/finally to handle throw to handler in a frame whose pc is inside a with or catch, store the context that the handler should run in in the handler itself. BUG= TEST= Review URL: http://codereview.chromium.org/7618007 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8922 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
fschneider@chromium.org authored
It is available platforms that have SSE 4.1 and allows us to handle negative numbers without deoptimization. Before we would deoptimize on negative inputs to Math.floor. x64 already uses this instruction. * Change Math.floor unit test to make sure every test case gets optimized by changing the source code for each test case. * Fix HIR debug printing for some instructions. Review URL: http://codereview.chromium.org/7628017 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8921 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
mikhail.naganov@gmail.com authored
These files already include v8.h so they don't need to define the namespace alias again. Signed-off-by:
Thiago Farina <tfarina@chromium.org> Review URL: http://codereview.chromium.org/7640012 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8919 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 11 Aug, 2011 4 commits
-
-
keuchel@chromium.org authored
BUG= TEST= Review URL: http://codereview.chromium.org/7549008 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8911 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
danno@chromium.org authored
Also unify Crankshaft code to load array length. BUG=v8:1493 TEST=external-arrays.js Review URL: http://codereview.chromium.org/7600025 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8901 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
lrn@chromium.org authored
TEST=cctest/Threaded4 Review URL: http://codereview.chromium.org/7620007 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8892 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
antonm@chromium.org authored
Review URL: http://codereview.chromium.org/7552034 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8885 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 10 Aug, 2011 3 commits
-
-
vitalyr@chromium.org authored
R=kmillikin@chromium.org BUG=v8:1592 TEST=mjsunit/regress/regress-1592.js Review URL: http://codereview.chromium.org/7497067 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8884 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
fschneider@chromium.org authored
* Bug fix for range analysis (contributed by Andy Wingo). Ranges of double values have to include negative zero. Original code review: http://codereview.chromium.org/7514040/ * Fix a bug in optimized Math.round on ARM. When emitting minus-zero checks we previously return a wrong result because of incorrect register assignment. * Fix performance problem in IA32 and x64. Refine the checks for minus zero and avoid unnecessary deoptimizations on Math.floor. * Improve mjsunit test for Math.round to make sure we also get the optimized version of the code for each test case. Review URL: http://codereview.chromium.org/7604028 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8877 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
rossberg@chromium.org authored
Harmony is intended to make typeof null === "null". This may break existing programs. Implementing it will allow us to run some tests on the actual web. R=kmillikin@chromium.org BUG= TEST= Review URL: http://codereview.chromium.org/7598030 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8876 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 09 Aug, 2011 2 commits
-
-
vitalyr@chromium.org authored
Replaced the keyword matching state machine with a switch on the first char followed up by inlined char comparisons. R=lrn@chromium.org TEST=cctest/test-parsing/ScanKeywords Review URL: http://codereview.chromium.org/7558017 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8866 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
kmillikin@chromium.org authored
Because these are function literals that have an associated name, we were compiling them as if they were named function expressions. This is incorrect, the property name should not be in scope. R=vegorov@chromium.org BUG= TEST= Review URL: http://codereview.chromium.org/7599024 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8863 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 08 Aug, 2011 1 commit
-
-
kmillikin@chromium.org authored
Reapply r8838 with a fix for the issue of function names. Because function names can be added/changed/removed through the API, remember whether the function is anonymous when initially parsed and use that information when compiling. R=vegorov@chromium.org BUG=1583 TEST=regress-1583 Review URL: http://codereview.chromium.org/7491097 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8858 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 05 Aug, 2011 7 commits
-
-
vitalyr@chromium.org authored
Because of stress testing there may be parallel instances of the test running, which makes it fail when using a hardcoded test dir name. Adding a random suffix helps. It'd be nicer to add something like pid, but there doesn't seem to be an easy way of getting it. R=yangguo@chromium.org Review URL: http://codereview.chromium.org/7491057 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8848 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
lrn@chromium.org authored
BUG=91787 TEST=mjsunit/regress/regress-91787 Review URL: http://codereview.chromium.org/7569008 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8847 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
keuchel@chromium.org authored
BUG=v8:1586 TEST=mjsunit/regress/regress-1586.js Review URL: http://codereview.chromium.org/7491053 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8844 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
lrn@chromium.org authored
Checking for end-of-comment truncated to byte before comparing to '*'. BUG=v8:1546 TEST=mjsunit/regress/regress-1546 Review URL: http://codereview.chromium.org/7585004 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8842 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
jkummerow@chromium.org authored
- Introduce a global Makefile that triggers GYP-based building - Some fixes to .gyp[i] files to make everything work - tools/test-wrapper-gypbuild.py as a temporary solution for easy testing Original review URL: http://codereview.chromium.org/7383006/ Review URL: http://codereview.chromium.org/7550030 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8840 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
kmillikin@chromium.org authored
This reverts commit revision 8838. TBR=ricow@chromium.org BUG= TEST= Review URL: http://codereview.chromium.org/7584005 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8839 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
kmillikin@chromium.org authored
When recompiling code (e.g., when optimizing) we could incorrectly hoist some function expressions. This leads to incorrect results or a crash. The root cause was that functions were not correctly categorized as expression or declaration at parse time. This requires some extra hoops to prevent the print name "anonymous" for functions created by 'new Function' from establishing a binding. R=vegorov@chromium.org,kasperl@chromium.org BUG=1583 TEST=regress-1583 Review URL: http://codereview.chromium.org/7572019 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8838 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 04 Aug, 2011 4 commits
-
-
kmillikin@chromium.org authored
This change reportedly causes a slowdown or inifinite loop on ARM. Revert pending investigation. R=vegorov@chromium.org BUG= TEST= Review URL: http://codereview.chromium.org/7566040 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8834 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
vitalyr@chromium.org authored
R=vegorov@chromium.org BUG=http://b/issue?id=5095592 Review URL: http://codereview.chromium.org/7572018 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8833 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
mstarzinger@chromium.org authored
R=rossberg@chromium.org BUG=v8:1565 TEST=mjsunit/harmony/weakmaps Review URL: http://codereview.chromium.org/7572013 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8825 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
danno@chromium.org authored
R=vegorov@chromium.org BUG=91517 TEST=regress-91517.js Review URL: http://codereview.chromium.org/7575007 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8824 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 03 Aug, 2011 5 commits
-
-
mstarzinger@chromium.org authored
R=vegorov@chromium.org BUG=v8:1565 TEST=cctest/test-weakmaps Review URL: http://codereview.chromium.org/7553012 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8817 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
ricow@chromium.org authored
for the individually bound functions. Our existing code will generate a new function on every call to bind, but it will use the same shared function. When setting the lenght this will be set on the shared function, i.e., the length of all bound functions will be that of the last bound function. Review URL: http://codereview.chromium.org/7475002 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8816 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
mstarzinger@chromium.org authored
R=rossberg@chromium.org,danno@chromium.org BUG=v8:1565 TEST=mjsunit/harmony/weakmaps Review URL: http://codereview.chromium.org/7529007 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8811 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
danno@chromium.org authored
Advantage is that it's much easier to add new element types (like FAST_SMI_ELEMENTS), and that handling logic for each element kind is (more) consolidated. Currently, only GetElementsWithReceiver uses the new encapsulation, but the goal is to move much more element functionality into the class incrementally. BUG=none TEST=none Review URL: http://codereview.chromium.org/7527001 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8810 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
kmillikin@chromium.org authored
* src/hydrogen-instructions.cc (HValue::InferRange): Only mark values with int32 representation as never being -0. Always return a non-NULL value; callers should check for representation().IsNone() if that's their concern. In practice these invariants were not violated by callers, but they were sometimes two calls away, which seems brittle. BUG= TEST=tests pass, modulo http://code.google.com/p/v8/issues/detail?id=1572 Review URL: http://codereview.chromium.org/7514040 Patch from Andy Wingo <wingo@igalia.com>. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8804 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-