- 19 Jul, 2010 7 commits
-
-
whesse@chromium.org authored
This will allow jumps to runtime that skip useless tests. Review URL: http://codereview.chromium.org/3016004 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5097 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
antonm@chromium.org authored
If object enters NEAR_DEATH state, it must be explicitly cleared and/or disposed, otherwise it would retain JS object forever. Note as well that parameter is reset to NULL on first invocation so weak handle callback would be in hard situation. Review URL: http://codereview.chromium.org/3011009 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5096 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
whesse@chromium.org authored
all the time, not just the first time it is run. Review URL: http://codereview.chromium.org/3037008 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5095 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
ager@chromium.org authored
Changed a static cast from static_cast<int> to static_cast<size_t> that previously introduced a signed/unsigned comparison issue in the main allocator for V8 (MemoryAllocator::AllocateRawMemory) that could be used to bypass the V8 allocation limitations or trigger integer overflows. Review URL: http://codereview.chromium.org/3027006/show git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5094 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
ager@chromium.org authored
TYPE_CHECK in v8.h should assign to volatile qualified null-pointer. Unless the pointer is volatile qualified, Clang will warn that LLVM removes the assignment during optimization. This is not a problem as that code should never execute, but the warning is treated as an error when building Chromium, and thus stops the build. Code review URL: http://codereview.chromium.org/3005010/show git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5093 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
ricow@chromium.org authored
Review URL: http://codereview.chromium.org/2811055 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5090 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
ricow@chromium.org authored
This fixes issue 49099 (http://crbug.com/49099) that makes chromium crash if a gc is triggered by setting the scopeinfo in CompileLazy. If this gc triggers code flushing the compiled function could be flushed, causing the ASSERT(shared->is_compiled()) to fail. By reordering the two methods we make sure that no allocation happens before the end of the method. Review URL: http://codereview.chromium.org/3035006 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5089 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 16 Jul, 2010 3 commits
-
-
ricow@chromium.org authored
This includes adding a new inline IsSpecObject method to the code generator. The old approach was somehow ineffecient since we would call both IsObject, IsUndetectable and IsFunction to determine if something was an object according to the spec. This change introduces a new macro that determines if something is an object according to the spec (and this does not include null). This change also corrects a few places where undetectable objects was not allowed even when they should be (priorly they would use only IS_SPEC_OBJECT_OR_NULL, which would return false on an undetectable object, the new IS_SPEC_OBJECT returns true on an undetectable object. Review URL: http://codereview.chromium.org/2877018 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5087 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
serya@chromium.org authored
Review URL: http://codereview.chromium.org/3020003 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5086 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
whesse@chromium.org authored
Fix compilation errors on X64. Error from r5080 is constructor Operand(register) with too few arguments, while constructing a dummy return value in unreachable code to avoid compiler errors. Also added explicit cast from intptr_t to int in profile-generator.cc to avoid compiler warnings, introduced in r5078. Review URL: http://codereview.chromium.org/3030002 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5084 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 15 Jul, 2010 10 commits
-
-
mikhail.naganov@gmail.com authored
TBR=ager@chromium.org Review URL: http://codereview.chromium.org/2861051 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5082 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
mikhail.naganov@gmail.com authored
I tried adding CheckNonEqualsHelper for int64_t, but this causes another avalanche of function resolving ambuguities. So, I ended up fooling linter. TBR=ager@chromium.org Review URL: http://codereview.chromium.org/3024001 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5081 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
whesse@chromium.org authored
Remove unnecessary formatting differences between ia32 and x64 code generators. Mainly just typographical changes. Review URL: http://codereview.chromium.org/3023001 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5080 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
mikhail.naganov@gmail.com authored
Will fix test-heap-profiler in the next change. TBR=ager@chromium.org Review URL: http://codereview.chromium.org/2877019 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5079 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
mikhail.naganov@gmail.com authored
To trace objects between snapshots, an external map of object tags is maintained. After the first heap snapshot has been taken, the map is updated by reporting object moves from the GC. If no snapshots were taken, there is no overhead (except for flag checking). I considered graph comparison algorithms that doesn't require using object tags, but they are all of a high computational complexity, and will still fail to detect object moves properly, even for trivial cases, so using tags looks like unavoidable. Review URL: http://codereview.chromium.org/3020002 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5078 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
whesse@chromium.org authored
Avoid a smi check when comparing an unknown to a constant smi for equality on ia32 and x64 platforms. Review URL: http://codereview.chromium.org/2897013 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5077 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
whesse@chromium.org authored
Review URL: http://codereview.chromium.org/2836051 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5076 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
ager@chromium.org authored
Review URL: http://codereview.chromium.org/2805081 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5073 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
ricow@chromium.org authored
This change adds the ES5 Object.seal 15.2.3.8 and Object.isSealed 15.2.3.11 methods. Review URL: http://codereview.chromium.org/2993006 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5072 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
serya@chromium.org authored
Review URL: http://codereview.chromium.org/2928009 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5071 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 14 Jul, 2010 5 commits
-
-
whesse@chromium.org authored
Review URL: http://codereview.chromium.org/2925012 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5069 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
ricow@chromium.org authored
Since out internal representation of a property descriptor does not have configurable and writable attributes Object.isFrozen returns true whenever an object is not extensible. This change makes use of the right method calls on our internal representation (isWritable() and isConfigurable()). Tests added directly to the mjsunit test. Review URL: http://codereview.chromium.org/2904015 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5068 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
kaznacheev@chromium.org authored
The static ScopeInfo members moved into this class. The new class is named ScopeInfoObject which I am not proud of, better ideas are very welcome. Also got rid of the sentinels in the serialized scope info which saves 3 words per function and is not slower. Review URL: http://codereview.chromium.org/2908009 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5067 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
ricow@chromium.org authored
Since bleeding edge revision 5056 we no longer need to check that there are no heap allocated locals in the scope info, since these will be preserved after the scope info was moved to the SharedFunctionInfo class. Review URL: http://codereview.chromium.org/2931016 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5066 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
mikhail.naganov@gmail.com authored
back to EventListener to be able to dynamically specify behavior on asynchronously enforced VM breakouts. Review URL: http://codereview.chromium.org/2962007/show git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5063 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 13 Jul, 2010 11 commits
-
-
ager@chromium.org authored
Allow compareStub on ARM to take register in reverse order optionally. BUG=none TEST=none Review URL: http://codereview.chromium.org/2850046/show git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5059 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
ager@chromium.org authored
Review URL: http://codereview.chromium.org/2981005 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5058 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
kaznacheev@chromium.org authored
The scope info is now stored in a FixedArray referenced from SharedFunctionInfo. Review URL: http://codereview.chromium.org/2918001 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5056 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
ricow@chromium.org authored
This change adds ES5 15.2.3.9 Object.freeze and 15.2.3.12 Object.isFrozen Review URL: http://codereview.chromium.org/2944016 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5055 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
ricow@chromium.org authored
Review URL: http://codereview.chromium.org/2974008 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5053 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
ricow@chromium.org authored
The memory leaks are all from the tests, not actually in V8. I will put a nightly valgrind run on the fuzzer. Review URL: http://codereview.chromium.org/2944015 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5052 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
ager@chromium.org authored
Review URL: http://codereview.chromium.org/2981004 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5051 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
ager@chromium.org authored
This fixes issue 775. Review URL: http://codereview.chromium.org/2959007 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5050 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
serya@chromium.org authored
Review URL: http://codereview.chromium.org/2982001 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5049 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
whesse@chromium.org authored
Fix compilation error on 64-bit MacOS V8 compilation. ASSERT_EQ macro needs unambiguous similar integer types as arguments. Review URL: http://codereview.chromium.org/2982005 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5048 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
vegorov@chromium.org authored
Use virtually dispatched specialized scavengers instead of single generic ScavengeObjectSlow implementation. Rollback of r5041 with assertion checking callback alignment removed. Map space is iterated in a special fashion during scavenges so special callback alignment is not required. Review URL: http://codereview.chromium.org/2950003 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5047 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 12 Jul, 2010 4 commits
-
-
ager@chromium.org authored
behavior. It breaks debug builds with snapshots on my machine. TBR=vegorov@chromium.org Review URL: http://codereview.chromium.org/2983001 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5046 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
ager@chromium.org authored
Function.prototype.apply. This avoids having more than one error message for stack overflow situations which makes testing a pain. Review URL: http://codereview.chromium.org/2967003 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5045 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
http://codereview.chromium.org/2801018serya@chromium.org authored
Review URL: http://codereview.chromium.org/2860049 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5044 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
yurys@chromium.org authored
Review URL: http://codereview.chromium.org/2961003 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5043 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-