iposva@chromium.org [Sun, 30 Nov 2008 00:19:08 +0000 (00:19 +0000)]
Fix issue code.google.com/p/v8/issues/detail?id=166 which I have run
across as well.
TBR=plesner
Review URL: http://codereview.chromium.org/13007
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@870
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
erik.corry@gmail.com [Fri, 28 Nov 2008 12:11:36 +0000 (12:11 +0000)]
Fix build error in debug mode by making sure the tracer has the
new method too.
Fix spacing in tracer.
Review URL: http://codereview.chromium.org/12806
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@867
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
erik.corry@gmail.com [Fri, 28 Nov 2008 11:48:22 +0000 (11:48 +0000)]
Add an operation that checks whether we are at the start of the string.
Review URL: http://codereview.chromium.org/10998
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@866
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
erik.corry@gmail.com [Fri, 28 Nov 2008 10:37:06 +0000 (10:37 +0000)]
* Remove an unused layer of abstraction by not having both a macro assembler and
an assembler when compiling to bytecode. This fixes
http://code.google.com/p/v8/issues/detail?id=165
* Preload the 'current character' register when starting a match (byte code only
at the moment).
Review URL: http://codereview.chromium.org/10995
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@865
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
lrn@chromium.org [Fri, 28 Nov 2008 09:51:26 +0000 (09:51 +0000)]
Calling native irregexp now returns captures correctly.
Reduces failing tests in native mode to 2(!)
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@864
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
erik.corry@gmail.com [Fri, 28 Nov 2008 09:08:13 +0000 (09:08 +0000)]
Lint lint lint.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@863
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
erik.corry@gmail.com [Fri, 28 Nov 2008 08:53:53 +0000 (08:53 +0000)]
Implement $ for non-multiline.
Review URL: http://codereview.chromium.org/10992
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@862
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
olehougaard [Thu, 27 Nov 2008 13:55:06 +0000 (13:55 +0000)]
Change implementation of eval to make an exact distinction between direct eval and aliased eval.
Review URL: http://codereview.chromium.org/12673
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@860
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
lrn@chromium.org [Thu, 27 Nov 2008 13:54:31 +0000 (13:54 +0000)]
Made char comparisons work
Tracer for regexp macro-assembler instructions
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@859
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
christian.plesner.hansen@gmail.com [Thu, 27 Nov 2008 12:10:16 +0000 (12:10 +0000)]
Fixed build on windows. Msvc is an idiot.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@858
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
christian.plesner.hansen@gmail.com [Thu, 27 Nov 2008 11:20:05 +0000 (11:20 +0000)]
Fixed lint error.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@857
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
christian.plesner.hansen@gmail.com [Thu, 27 Nov 2008 10:35:06 +0000 (10:35 +0000)]
Fixed some assertion propagation issues and added non-multiline $
propagation.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@856
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
erik.corry@gmail.com [Thu, 27 Nov 2008 09:27:30 +0000 (09:27 +0000)]
Fix native code Irregexp on MacOSX.
Review URL: http://codereview.chromium.org/10984
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@855
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
sgjesse@chromium.org [Thu, 27 Nov 2008 08:01:27 +0000 (08:01 +0000)]
Added a debugger call to run a JavaScript function in the debugger. When called the debugger will be entered and the JavaScript function will be called with the debugger ExecutionState object as its first parameter.
This makes it possible to get information like current line number, current script resource, backtrace information etc. which is not part of the normal API.
Review URL: http://codereview.chromium.org/12472
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@854
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
erik.corry@gmail.com [Thu, 27 Nov 2008 07:27:08 +0000 (07:27 +0000)]
* Complete case independent support in Irregexp.
Review URL: http://codereview.chromium.org/12473
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@853
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
christian.plesner.hansen@gmail.com [Thu, 27 Nov 2008 07:21:43 +0000 (07:21 +0000)]
Graph node attribute printing.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@852
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
iposva@chromium.org [Wed, 26 Nov 2008 23:34:36 +0000 (23:34 +0000)]
Prepare to push the v8::jscre namespace changes to trunk.
This does not change the working revision number as this
is marked as revision 0.4.4.1, since it is quick specific
patch.
Review URL: http://codereview.chromium.org/12509
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@850
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
feng@chromium.org [Wed, 26 Nov 2008 22:45:21 +0000 (22:45 +0000)]
Add v8::jscre namespace around jscre functions to avoid link errors with jsc pcre files in Chrome.
Review URL: http://codereview.chromium.org/12496
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@849
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
lrn@chromium.org [Wed, 26 Nov 2008 13:54:08 +0000 (13:54 +0000)]
Made ARM/IA32 handling in Regexp symmetric (although without an ARM implementation yet).
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@848
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
erik.corry@gmail.com [Wed, 26 Nov 2008 12:18:17 +0000 (12:18 +0000)]
Address comments about my code in codereview.chromium.org/12427
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@847
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
lrn@chromium.org [Wed, 26 Nov 2008 11:29:26 +0000 (11:29 +0000)]
Fixed some outstanding formatting issues.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@846
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
christian.plesner.hansen@gmail.com [Wed, 26 Nov 2008 08:03:55 +0000 (08:03 +0000)]
Merge code review fixes.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@845
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
christian.plesner.hansen@gmail.com [Wed, 26 Nov 2008 06:05:07 +0000 (06:05 +0000)]
Fixed problem where the two lower-case sigmas would uncanonicalize to
themselves and upper-case sigma, but upper-case sigma would
uncanonicalize to just lower-case final sigma.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@844
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
christian.plesner.hansen@gmail.com [Tue, 25 Nov 2008 16:01:25 +0000 (16:01 +0000)]
Really marked the assembler tests as crashing on mac.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@843
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
christian.plesner.hansen@gmail.com [Tue, 25 Nov 2008 15:43:42 +0000 (15:43 +0000)]
Marked MacroAssemblerIA32Simple as expected to fail on mac.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@842
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
christian.plesner.hansen@gmail.com [Tue, 25 Nov 2008 14:26:45 +0000 (14:26 +0000)]
Made irregexp flags available in release mode
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@841
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
lrn@chromium.org [Tue, 25 Nov 2008 14:26:13 +0000 (14:26 +0000)]
IA32-tests won't be compiled on ARM (and not just not run).
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@840
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
lrn@chromium.org [Tue, 25 Nov 2008 14:14:04 +0000 (14:14 +0000)]
Scanning for captures only happen when a decimal escape gives a number that
is too big to be a useful back reference. It won't happen at all in meaningfull
ECMAScript compliant regexps.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@839
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
erik.corry@gmail.com [Tue, 25 Nov 2008 13:23:49 +0000 (13:23 +0000)]
Oh, it has to work on Intel CPUs too?
Review URL: http://codereview.chromium.org/12432
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@838
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
lrn@chromium.org [Tue, 25 Nov 2008 13:13:02 +0000 (13:13 +0000)]
Tests for RegExpMacroAssemblerIA32.
Disabled stack-limit checks.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@837
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
ager@chromium.org [Tue, 25 Nov 2008 12:58:48 +0000 (12:58 +0000)]
Update d8 so that it can be used to run the mjsunit tests.
Set the security token on the debugger context after all contexts have
been created in d8. This ensures that all d8 contexts (including the
debugger context) can access eachother.
Copy extra command-line handling from the shell sample to d8.
Review URL: http://codereview.chromium.org/12431
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@836
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
erik.corry@gmail.com [Tue, 25 Nov 2008 12:45:31 +0000 (12:45 +0000)]
Old gcc on ARM can't cope with template stuff we weren't using anyway.
Review URL: http://codereview.chromium.org/12429
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@835
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
lrn@chromium.org [Tue, 25 Nov 2008 12:08:13 +0000 (12:08 +0000)]
New regexp files are now included in VS project.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@834
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
erik.corry@gmail.com [Tue, 25 Nov 2008 11:39:20 +0000 (11:39 +0000)]
Case independent back references.
Reviewed at http://codereview.chromium.org/12406
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@833
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
christian.plesner.hansen@gmail.com [Tue, 25 Nov 2008 11:07:48 +0000 (11:07 +0000)]
Merge regexp2000 back into bleeding_edge
Review URL: http://codereview.chromium.org/12427
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@832
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
sgjesse@chromium.org [Tue, 25 Nov 2008 10:59:02 +0000 (10:59 +0000)]
Fixed Visual Studio build with snapshot when V8 is checked out in a directory with spaces in the path.
Review URL: http://codereview.chromium.org/12428
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@831
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
sgjesse@chromium.org [Mon, 24 Nov 2008 10:31:22 +0000 (10:31 +0000)]
Removed all functions for parsing the debugger command line commands. The core debugger should only support the JSON protocol. Expect these functions to re-appear in d8.
Added processDebugRequest to the debugger which will only process a JSON request. Use that function in the debugger.
Review URL: http://codereview.chromium.org/11395
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@824
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
ager@chromium.org [Fri, 21 Nov 2008 15:01:41 +0000 (15:01 +0000)]
Revert r819, 821, and 822 which caused a big performance regression
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@823
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
olehougaard [Fri, 21 Nov 2008 13:41:25 +0000 (13:41 +0000)]
Fixed two unexpected passes. We no longer expect them to fail.
Review URL: http://codereview.chromium.org/11351
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@822
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
olehougaard [Fri, 21 Nov 2008 13:37:38 +0000 (13:37 +0000)]
Removing assert to make flexo happy.
TBR=ager
Review URL: http://codereview.chromium.org/11565
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@821
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
olehougaard [Fri, 21 Nov 2008 12:49:57 +0000 (12:49 +0000)]
Fixing the detection of aliased eval so that it is exact.
Fixing the semantics of aliased eval so that it is conformant.
Review URL: http://codereview.chromium.org/11563
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@819
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
christian.plesner.hansen@gmail.com [Fri, 21 Nov 2008 12:26:31 +0000 (12:26 +0000)]
Applied patch from Alexander Botero-Lowry to fix tests on fresh
checkout with git-svn.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@818
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
sgjesse@chromium.org [Fri, 21 Nov 2008 11:19:01 +0000 (11:19 +0000)]
Added support for building V8 on Windows with either the shared or static version of MSVCRT. The selection of the MSVCRT version is through the new SCons flag msvcrt which can have values static or shared with static being the default.
Review URL: http://codereview.chromium.org/11564
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@817
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
ager@chromium.org [Fri, 21 Nov 2008 10:06:29 +0000 (10:06 +0000)]
Apply patch from Alexander Botero-Lowry that adds FreeBSD platform
support.
Review URL: http://codereview.chromium.org/11347
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@815
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
ager@chromium.org [Fri, 21 Nov 2008 08:36:30 +0000 (08:36 +0000)]
Remove use of strtoll in favor of strtol which should be supported on
more platforms.
Review URL: http://codereview.chromium.org/11607
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@813
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
iposva@chromium.org [Thu, 20 Nov 2008 23:53:18 +0000 (23:53 +0000)]
- Make sure to not mix allocators by using the correct StrDup function.
- Include needed system header.
Review URL: http://codereview.chromium.org/11547
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@812
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
iposva@chromium.org [Thu, 20 Nov 2008 23:16:26 +0000 (23:16 +0000)]
Remove OS::WcsCpy from platform.h. This function is unused
and is giving us headaches on platforms not supporting wchar_t.
Review URL: http://codereview.chromium.org/11546
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@811
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
feng@chromium.org [Thu, 20 Nov 2008 18:12:48 +0000 (18:12 +0000)]
Turn ASSERT(!rn.is(ip)) into CHECK so the error can be caught in release mode.
It addresses the problem of 'cmp' instruction that has the side-effect that ip register
shouldn't be used as rn.
Review URL: http://codereview.chromium.org/11323
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@810
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
feng@chromium.org [Thu, 20 Nov 2008 17:44:08 +0000 (17:44 +0000)]
fix lint
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@809
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
feng@chromium.org [Thu, 20 Nov 2008 17:33:53 +0000 (17:33 +0000)]
ip cannot be used in cmp instruction. Revert to r1.
Review URL: http://codereview.chromium.org/11322
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@808
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
feng@chromium.org [Thu, 20 Nov 2008 16:59:00 +0000 (16:59 +0000)]
More work on completing Keyed IC code on ARM port.
Added stats counter support in macro-assembler-arm.*.
Review URL: http://codereview.chromium.org/11277
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@807
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
feng@chromium.org [Thu, 20 Nov 2008 16:31:22 +0000 (16:31 +0000)]
Minor cleanup code in GenerateStoreField.
Review URL: http://codereview.chromium.org/11276
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@806
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
ager@chromium.org [Thu, 20 Nov 2008 11:33:50 +0000 (11:33 +0000)]
Explicitly change a floating point division with a constant into a
multiplication by its inverse.
In optimized builds GCC does this on its own, but this may be useful
when using other compilers.
Review URL: http://codereview.chromium.org/11524
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@805
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
sgjesse@chromium.org [Thu, 20 Nov 2008 10:00:36 +0000 (10:00 +0000)]
Change the handling of OS::Abort on Windows to enter the debugger if the process is being debugged.
Review URL: http://codereview.chromium.org/11522
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@802
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
ager@chromium.org [Thu, 20 Nov 2008 09:48:29 +0000 (09:48 +0000)]
Disable map collection since there is a bug in it somewhere. Leave in
the code so we can work on it.
Review URL: http://codereview.chromium.org/11806
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@800
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
ager@chromium.org [Thu, 20 Nov 2008 09:18:08 +0000 (09:18 +0000)]
When probing a dictionary backing storage in generated code, make sure
not to return functions that have not been loaded.
This fixes crashes on expedia.com:
http://code.google.com/p/chromium/issues/detail?id=4526
Review URL: http://codereview.chromium.org/11272
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@799
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
sgjesse@chromium.org [Wed, 19 Nov 2008 12:27:55 +0000 (12:27 +0000)]
Removed som unused function from the JavaScript side of the debugger.
Review URL: http://codereview.chromium.org/11269
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@795
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
sgjesse@chromium.org [Wed, 19 Nov 2008 10:09:21 +0000 (10:09 +0000)]
Changed the handling of Win32 function SetErrorMode to be more correct. The flag to prevent error dialogs is now merged with existing flags, and the error mode is now reset which it was not before.
Review URL: http://codereview.chromium.org/11471
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@792
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
ager@chromium.org [Wed, 19 Nov 2008 09:50:50 +0000 (09:50 +0000)]
Removed one more occurrence of a failure in a handle.
Review URL: http://codereview.chromium.org/11469
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@791
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
ager@chromium.org [Tue, 18 Nov 2008 10:55:50 +0000 (10:55 +0000)]
Ensure that external symbols have hash codes.
Review URL: http://codereview.chromium.org/11443
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@785
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
olehougaard [Tue, 18 Nov 2008 10:02:37 +0000 (10:02 +0000)]
Fixing wrong reference to this in eval.
Review URL: http://codereview.chromium.org/11227
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@784
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
olehougaard [Tue, 18 Nov 2008 08:43:58 +0000 (08:43 +0000)]
Changing the semantics of cross-frame eval to be compatible with Safari and Firefox.
Review URL: http://codereview.chromium.org/11601
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@781
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
iposva@chromium.org [Tue, 18 Nov 2008 07:32:38 +0000 (07:32 +0000)]
Add an API test for v8::ScriptData::PreCompile() to make sure
that v8::V8::Initialize() does not have to be called to allow
pre-compilation. Currently this test would fail, which is
why a workaround has been applied and a bug filed.
Review URL: http://codereview.chromium.org/11441
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@779
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
feng@chromium.org [Mon, 17 Nov 2008 20:04:52 +0000 (20:04 +0000)]
Buildbot still is not happy. Looks like CRASH keyword is needed.
TBR = iposva
Review URL: http://codereview.chromium.org/11417
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@778
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
feng@chromium.org [Mon, 17 Nov 2008 19:01:37 +0000 (19:01 +0000)]
Adjust test status of ARM build to reflect the current situation.
TBR = iposva
Review URL: http://codereview.chromium.org/11414
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@777
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
ager@chromium.org [Mon, 17 Nov 2008 18:43:04 +0000 (18:43 +0000)]
Remove assert that I accidentally committed
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@776
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
feng@chromium.org [Mon, 17 Nov 2008 17:54:15 +0000 (17:54 +0000)]
fix lint issue (from ager's commit)
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@775
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
feng@chromium.org [Mon, 17 Nov 2008 17:44:16 +0000 (17:44 +0000)]
Some debugging support fixes on ARM simulator port.
1) Let SaveContext remember the top JS frame stack pointer so it works in simulator where C stack and JS stack are separated;
2) Use the new calling convension in %DebugBreakCallHelper function;
Review URL: http://codereview.chromium.org/10663
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@774
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
ager@chromium.org [Mon, 17 Nov 2008 16:00:58 +0000 (16:00 +0000)]
Fix external string test.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@773
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
ager@chromium.org [Mon, 17 Nov 2008 15:13:40 +0000 (15:13 +0000)]
Add experimental support for external two-byte symbols.
This might be a big win in a browser setting where a lot of string
conversions can be avoided. On the other hand it adds extra pressure
on the global handle system.
Review URL: http://codereview.chromium.org/11404
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@772
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
ager@chromium.org [Mon, 17 Nov 2008 08:57:04 +0000 (08:57 +0000)]
Prepare push to trunk. Now working on version 0.4.5.
Review URL: http://codereview.chromium.org/11201
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@767
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
kasperl@chromium.org [Mon, 17 Nov 2008 06:56:28 +0000 (06:56 +0000)]
Fix Chromium issue 176 by treating byte-order marks as whitespace.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@765
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
kasperl@chromium.org [Mon, 17 Nov 2008 05:50:52 +0000 (05:50 +0000)]
Track loop nesting across function calls when the function
is called through an IC the first time.
Review URL: http://codereview.chromium.org/10746
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@764
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
olehougaard [Fri, 14 Nov 2008 14:36:46 +0000 (14:36 +0000)]
Oops. Forgot to throw *new* $EvalError.
Review URL: http://codereview.chromium.org/10749
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@760
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
olehougaard [Fri, 14 Nov 2008 13:14:49 +0000 (13:14 +0000)]
Restrict application of eval so it can only be used in the context of the global object. For compatibility.
Review URL: http://codereview.chromium.org/10748
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@757
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
feng@chromium.org [Thu, 13 Nov 2008 20:24:28 +0000 (20:24 +0000)]
Enable api tests on Armulator.
Review URL: http://codereview.chromium.org/10883
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@748
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
feng@chromium.org [Thu, 13 Nov 2008 01:18:31 +0000 (01:18 +0000)]
Enable IC stubs for KeyedLaod/Store on ARM.
Several functions are not complete yet, always fall back to slow case.
It fixes test-api/AccessControlIC test.
Review URL: http://codereview.chromium.org/10624
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@745
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
feng@chromium.org [Wed, 12 Nov 2008 23:21:54 +0000 (23:21 +0000)]
Fix the exception order by remember JS handler in an external handler.
Review URL: http://codereview.chromium.org/10625
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@744
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
feng@chromium.org [Wed, 12 Nov 2008 22:57:04 +0000 (22:57 +0000)]
Some fixes in ARM simulator:
1) create a simulator per thread and using thread storage;
2) capitalize two function names;
3) use sscanf instead of sscanf_s in arm simulator;
4) disable warning of sscanf when building with arm simulator;
Review URL: http://codereview.chromium.org/10634
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@743
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
sgjesse@chromium.org [Wed, 12 Nov 2008 12:20:24 +0000 (12:20 +0000)]
Set svn:eol-style to native on D8 files.
Review URL: http://codereview.chromium.org/10632
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@740
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
kmillikin@chromium.org [Wed, 12 Nov 2008 11:00:12 +0000 (11:00 +0000)]
Minor cleanup of the code generators to reduce (eventual) register
pressure and to avoid gratuitous merges in the CFG. No real
performance impact is expected.
Review URL: http://codereview.chromium.org/10404
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@739
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
feng@chromium.org [Wed, 12 Nov 2008 01:05:41 +0000 (01:05 +0000)]
cl.exe complains about missing parens around the boolean expression.
Review URL: http://codereview.chromium.org/10298
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@736
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
lrn@chromium.org [Tue, 11 Nov 2008 14:51:56 +0000 (14:51 +0000)]
Use OS::StrDup to duplicate strings.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@735
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
lrn@chromium.org [Tue, 11 Nov 2008 14:16:24 +0000 (14:16 +0000)]
Arguments on the command line are made available as a global "arguments" array.
Fix for non-empty assertion in debug mode (string representation of empty arguments is a single space, not an empty string).
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@733
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
ager@chromium.org [Tue, 11 Nov 2008 13:30:05 +0000 (13:30 +0000)]
Make sure that data functions return 0 instead of -0 for a number of
date functions such as getHours for dates before 1970.
This is consistent with the behavior of other JavaScript engines.
Review URL: http://codereview.chromium.org/9770
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@732
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
deanm@chromium.org [Tue, 11 Nov 2008 06:10:07 +0000 (06:10 +0000)]
Use shorter encoding for mov REG, IMM. Use Set() in two places to generate smaller code when the immediate is 0.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@728
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
feng@chromium.org [Mon, 10 Nov 2008 22:53:19 +0000 (22:53 +0000)]
Fix CALL_NON_FUNCTION.
Using two flags to specify the state of targets:
1) FixupIsPCRelative specifies where to patch (relative to pc or at pc);
2) FixupUseCodeObject specifies what to patch (code object or start address).
Review URL: http://codereview.chromium.org/10233
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@727
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
kasperl@chromium.org [Mon, 10 Nov 2008 17:27:49 +0000 (17:27 +0000)]
Revert r724 (breaks debug mode tests).
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@726
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
ager@chromium.org [Mon, 10 Nov 2008 14:36:03 +0000 (14:36 +0000)]
Destroyed global handles should not be touched. Added extra
assertions to get errors when first touching the destroyed handle
instead of getting the error when allocating a new handle at some
later point.
Review URL: http://codereview.chromium.org/9741
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@725
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
lrn@chromium.org [Mon, 10 Nov 2008 14:27:08 +0000 (14:27 +0000)]
Flag passes rest of command line to the shell/scripts being run.
Arguments on the command line are made available as a global "arguments" array.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@724
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
sgjesse@chromium.org [Mon, 10 Nov 2008 09:45:50 +0000 (09:45 +0000)]
Removed some unused debugger functions.
Review URL: http://codereview.chromium.org/10249
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@723
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
deanm@chromium.org [Sun, 9 Nov 2008 17:48:34 +0000 (17:48 +0000)]
Use shorter SIB encoding. For example, the previous:
8d044500000000 lea eax,[eax*2+0x0]
Will be encoded with the much shorter:
8d0400 lea eax,[eax+eax*1]
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@722
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
feng@chromium.org [Fri, 7 Nov 2008 23:00:09 +0000 (23:00 +0000)]
fix lint, approved offline by iposva
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@721
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
feng@chromium.org [Fri, 7 Nov 2008 22:56:41 +0000 (22:56 +0000)]
Fix OOM handler code. Old code didn't pop up the state slot.
Review URL: http://codereview.chromium.org/10223
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@720
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
feng@chromium.org [Fri, 7 Nov 2008 17:21:11 +0000 (17:21 +0000)]
Add ARM simulator build files.
Review URL: http://codereview.chromium.org/9669
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@719
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
feng@chromium.org [Fri, 7 Nov 2008 17:18:22 +0000 (17:18 +0000)]
Remove ARM files.
Review URL: http://codereview.chromium.org/9486
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@718
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
whessev8 [Fri, 7 Nov 2008 09:55:57 +0000 (09:55 +0000)]
Fix typo and remove undefined, unused API function from include/v8-debug.h
Review URL: http://codereview.chromium.org/9504
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@710
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
kmillikin@chromium.org [Fri, 7 Nov 2008 08:58:23 +0000 (08:58 +0000)]
Reporting -1 as the size of an ILLEGAL reference which actually has
size 0 was too cute.
Review URL: http://codereview.chromium.org/9689
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@709
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
kmillikin@chromium.org [Fri, 7 Nov 2008 08:21:07 +0000 (08:21 +0000)]
Emit pushes and pops through the virtual frame on ARM. Merging of
frames is not yet handled. The ARM code generator should be back in
line with the IA32 one.
Review URL: http://codereview.chromium.org/9182
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@706
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
whessev8 [Thu, 6 Nov 2008 10:43:15 +0000 (10:43 +0000)]
Adds a --help option and usage message listing all flags to V8.
Review URL: http://codereview.chromium.org/9420
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@702
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00