- 23 Jul, 2010 4 commits
-
-
ricow@chromium.org authored
Please note that we do not implement correctly the setting of caller and arguments on the returned objects, since we already have these properties on function objects (and they are non-configurable). Also corrects indention in DefineOwnProperty. Review URL: http://codereview.chromium.org/3046010 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5124 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
whesse@chromium.org authored
Review URL: http://codereview.chromium.org/3017025 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5123 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
ager@chromium.org authored
Spill and merge virtual frames explicitly in the deferred code. Account for the fact that the inlined write barrier size depends on the size of the new space masks. Review URL: http://codereview.chromium.org/3018015 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5122 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
whesse@chromium.org authored
Change asserts to STATIC_ASSERT if they can be checked at compilation time. Just in the codegen-xxx.cc files on all platforms. Review URL: http://codereview.chromium.org/3017018 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5121 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 22 Jul, 2010 7 commits
-
-
antonm@chromium.org authored
Otherwise failures are not reported and callback may fail to setup. Review URL: http://codereview.chromium.org/3035017 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5120 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
ager@chromium.org authored
cross-compiling d8 easier. Review URL: http://codereview.chromium.org/3062002 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5119 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
serya@chromium.org authored
Review URL: http://codereview.chromium.org/2809069 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5118 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
ager@chromium.org authored
TBR=ricow@chromium.org Review URL: http://codereview.chromium.org/3017024 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5117 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
ager@chromium.org authored
Review URL: http://codereview.chromium.org/2878043 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5116 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
ager@chromium.org authored
Review URL: http://codereview.chromium.org/3008017 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5115 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
kaznacheev@chromium.org authored
The caching code used to require that all keys in the literal were symbol strings in order to be able to cache object literal maps. Relaxed this requirement to allow array indices as well (as in { "1": "one", two: "two" }). Changed the way 'number_of_properties' is calculated so that redundant property slots are not allocated for array indices. Review URL: http://codereview.chromium.org/2858064 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5114 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 21 Jul, 2010 7 commits
-
-
whesse@chromium.org authored
Remove VirtualFrame::CallStoreIC(void) and CallCommonStoreIC from virtual-frame-x64.cc. Make implementations of CallStoreIC(key, is_contextual) and CallKeyedStoreIC() the same on x64 and ia32. Make ia32 and x64 implementations more alike by moving some functions and changing comments. Review URL: http://codereview.chromium.org/3060002 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5113 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
whesse@chromium.org authored
Add EmitKeyedStore and EmitKeyedPropertyAssignment to x64. Removal of Reference class from VisitAssignment complete on all platforms. Review URL: http://codereview.chromium.org/3028015 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5112 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
fschneider@chromium.org authored
Review URL: http://codereview.chromium.org/3053006 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5109 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
whesse@chromium.org authored
Review URL: http://codereview.chromium.org/3050008 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5108 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
whesse@chromium.org authored
Review URL: http://codereview.chromium.org/2878042 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5107 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
ager@chromium.org authored
Add support for saturation instruction (ARMv6 or above). The byte array clamping code has been updated accordingly. Review URL: http://codereview.chromium.org/3036008/show git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5106 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
ager@chromium.org authored
Review URL: http://codereview.chromium.org/3046006 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5105 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 20 Jul, 2010 5 commits
-
-
whesse@chromium.org authored
This is a fixed version of change 5097, which had the problem that LoadFloatOperands tried to load the arguments from the stack. Review URL: http://codereview.chromium.org/3040010 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5103 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
vegorov@chromium.org authored
Add support for flushcode scope and cumulative stats into gc-nvp-trace-processor. Review URL: http://codereview.chromium.org/3054003 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5102 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
ricow@chromium.org authored
We do not have a GlobalContext class. We do, however, have a SerializedScopeInfo class that inherits FixedArray. Starting comment is also slightly misleading, since not all objects in the hierarchy is described in objects.h (e.g., Context is described in contexts.h). Review URL: http://codereview.chromium.org/2811057 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5101 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
ager@chromium.org authored
Review URL: http://codereview.chromium.org/3027013 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5100 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
ager@chromium.org authored
Add direct_dependent_settings for v8 dll so targets that depend on v8 has USING_V8_SHARED defined. Review URL: http://codereview.chromium.org/2946014/show git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5099 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 19 Jul, 2010 8 commits
-
-
whesse@chromium.org authored
Review URL: http://codereview.chromium.org/3018009 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5098 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
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 6 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
-