- 20 Apr, 2012 1 commit
-
-
svenpanne@chromium.org authored
Review URL: https://chromiumcodereview.appspot.com/10144002 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11395 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 19 Apr, 2012 12 commits
-
-
fschneider@chromium.org authored
Make non-templatized versions of LIR printing functions. This avoid duplicating the code for each template instance. BUG=v8:1803 Review URL: https://chromiumcodereview.appspot.com/10123011 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11394 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
alexeif@chromium.org authored
TBR=mnaganov@chromium.org Review URL: https://chromiumcodereview.appspot.com/10078015 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11393 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
alexeif@chromium.org authored
Review URL: https://chromiumcodereview.appspot.com/10128006 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11392 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
mstarzinger@chromium.org authored
R=fschneider@chromium.org BUG=v8:1857,v8:2079 Review URL: https://chromiumcodereview.appspot.com/10124008 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11391 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
fschneider@chromium.org authored
~~ is commonly used to truncate a value to int32 (ToInt32). This change avoid actually emitting the bitwise operations, and just truncates the subexpression of ~~. BUG=v8:2037 TEST=test/mjsunit/compiler/optimize-bitnot.js Review URL: https://chromiumcodereview.appspot.com/10123007 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11390 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
alexeif@chromium.org authored
Review URL: https://chromiumcodereview.appspot.com/10021052 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11389 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
svenpanne@chromium.org authored
R=jkummerow@chromium.org Review URL: https://chromiumcodereview.appspot.com/10070008 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11386 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
mstarzinger@chromium.org authored
1) While marking the backing hash table of a WeakMap we also need to record the slot because it might be on an evacuation candidate. 2) With incremental marking one backing hash table might be marked more than once because the WeakMap might have gone through a white to gray transition. 3) The corner case when the allocation of the backing hash table itself causes a GC, leads to a WeakMap with an undefined table field, so we still need to handle this case correctly. R=vegorov@chromium.org TEST=mjsunit/harmony/proxies-example-membrane --stress-compaction Review URL: https://chromiumcodereview.appspot.com/9985010 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11385 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
yangguo@chromium.org authored
BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10124006 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11384 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
svenpanne@chromium.org authored
Review URL: https://chromiumcodereview.appspot.com/10128004 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11383 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
mstarzinger@chromium.org authored
R=vegorov@chromium.org BUG=chromium:123919 TEST=mjsunit/regress/regress-123919 Review URL: https://chromiumcodereview.appspot.com/10119016 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11382 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
svenpanne@chromium.org authored
Previously we got stuck in the int32 state, because this handled everything without a type transition. Note that other platforms do not have this bug. Review URL: https://chromiumcodereview.appspot.com/10083044 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11381 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 18 Apr, 2012 14 commits
-
-
mstarzinger@chromium.org authored
TBR=jkummerow@chromium.org Review URL: https://chromiumcodereview.appspot.com/10116030 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11380 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
mstarzinger@chromium.org authored
R=jkummerow@chromium.org TEST=cctest/test-api/StaticGetters[AfterDeath] Review URL: https://chromiumcodereview.appspot.com/10021057 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11379 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
alexeif@chromium.org authored
... otherwise it is shown as a hidden reference with a meaningless name. Review URL: https://chromiumcodereview.appspot.com/10041028 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11378 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
mstarzinger@chromium.org authored
R=danno@chromium.org TEST=cctest/test-api/StaticGetters[AfterDeath] Review URL: https://chromiumcodereview.appspot.com/10116024 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11376 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
mstarzinger@chromium.org authored
R=danno@chromium.org TEST=cctest/test-api Review URL: https://chromiumcodereview.appspot.com/10091035 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11375 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
rossberg@chromium.org authored
Port r11336 (6dd4e844) Original commit message: Implement rudimentary module linking. Constructs the (generally cyclic) graph of module instance objects and populates their exports. Any exports other than nested modules are currently set to 'undefined' (but already present as properties). Details: - Added new type JSModule for instance objects: a JSObject carrying a context. - Statically allocate instance objects for all module literals (in parser 8-}). - Extend interfaces to record and unify concrete instance objects, and to support iteration over members. - Introduce new runtime function for pushing module contexts. - Generate code for allocating, initializing, and setting module contexts, and for populating instance objects from module literals. Currently, all non-module exports are still initialized with 'undefined'. - Module aliases are resolved statically, so no special code is required. - Make sure that code containing module constructs is never optimized (macrofy AST node construction flag setting while we're at it). - Add test case checking linkage. BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10035028 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11374 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
rossberg@chromium.org authored
Port r11332 (0e6df8b6) Original commit message: Refactor code generation for global declarations. BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10041029 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11373 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
rossberg@chromium.org authored
Port r11331 (bd7843a0) Original commit message: Refactoring of code generation for declarations, in preparation for modules. Do proper dispatch on declaration type instead of mingling together different code generation paths. Once we add more declaration forms, this is more scalable. BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10119017 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11372 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
svenpanne@chromium.org authored
Review URL: https://chromiumcodereview.appspot.com/10083038 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11370 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
yangguo@chromium.org authored
Port r11349 (5b381a). BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10107025 Patch from Daniel Kalmar <kalmard@homejinni.com>. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11367 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
vegorov@chromium.org authored
Port r11278 (e5dc7ebd). Original commit message: Skip canonicalization check in LStoreKeyedFastDoubleElement when it is not needed: - if value is a result of integer32 to double conversion (can't be NaN); - if value was loaded from fast double backing store (already canonicalized). BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10071004 Patch from Daniel Kalmar <kalmard@homejinni.com>. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11366 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
vegorov@chromium.org authored
Removed a constant now duplicated by r11344 (7c41cf72). This fixes compilation on MIPS (with the other submitted patches applied). BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10108023 Patch from Daniel Kalmar <kalmard@homejinni.com>. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11365 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
vegorov@chromium.org authored
Provide known target as a hint to HInvokeFunction instruction so that it can statically determine if arguments adaptation is required. R=fschneider@chromium.org BUG=v8:2079 Review URL: https://chromiumcodereview.appspot.com/10116021 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11364 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
yangguo@chromium.org authored
Contributed by net147@gmail.com BUGS= TEST=mjsunit/math-pow,mjsunit/math-sqrt Review URL: https://chromiumcodereview.appspot.com/10116001 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11363 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 17 Apr, 2012 13 commits
-
-
yangguo@chromium.org authored
Original patch by Jonathan Liu <net147@gmail.com> https://chromiumcodereview.appspot.com/10026017/ BUG= TEST=mjsunit/math-pow,mjsunit/math-sqrt Review URL: https://chromiumcodereview.appspot.com/10108022 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11362 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
jkummerow@chromium.org authored
There was no build error since we never used LazyDynamicInstance's default parameter. BUG=v8:2091 Review URL: https://chromiumcodereview.appspot.com/10103032 Patch from Philippe Liard <pliard@chromium.org>. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11359 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
alexeif@chromium.org authored
Review URL: https://chromiumcodereview.appspot.com/10096016 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11358 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
yangguo@chromium.org authored
Contributed by net147@gmail.com BUGS= TEST= Review URL: https://chromiumcodereview.appspot.com/10019012 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11357 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
yangguo@chromium.org authored
Original patch by net147@gmail.com: https://chromiumcodereview.appspot.com/10026011/ BUG= TEST=cctest/test-conversions/Octal Review URL: https://chromiumcodereview.appspot.com/10103030 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11356 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
loislo@chromium.org authored
We are pushing stats data as a raw array of uint32_t values at the moment. It makes tricky the process of updating the API between v8 and WebKit. BUG=none TEST=HeapSnapshotObjectsStats Review URL: https://chromiumcodereview.appspot.com/10110001 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11355 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
erik.corry@gmail.com authored
Review URL: https://chromiumcodereview.appspot.com/10107013 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11352 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
loislo@chromium.org authored
Previously it was owned by pointer but now it is not necessary and we can own it by value. BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/9969197 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11351 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
mstarzinger@chromium.org authored
This makes sure that boilerplate objects for array literals with non-constant elements (which will contain the hole at non-constant positions) will not cause prototype chain lookups when generating optimized code. R=erik.corry@gmail.com BUG=chromium:123512 TEST=mjsunit/regress/regress-123512 Review URL: https://chromiumcodereview.appspot.com/10105025 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11350 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
yangguo@chromium.org authored
BUG= TEST=test-strings/RobustSubStringStub Review URL: https://chromiumcodereview.appspot.com/9969196 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11349 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
kmillikin@chromium.org authored
The heap profile tracers assumed that a closure always closed over a function context. This is obviously not true (e.g., function expressions nested inside catch or with). This assumption could lead to using a function's scope info to interpret a catch or with context. R=vegorov@chromium.org BUG=v8:2078 TEST= Review URL: https://chromiumcodereview.appspot.com/9969198 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11348 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
vegorov@chromium.org authored
R=mstarzinger@chromium.org Review URL: https://chromiumcodereview.appspot.com/10091027 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11347 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
yurys@chromium.org authored
TBR=mnaganov Review URL: https://chromiumcodereview.appspot.com/9956167 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11346 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-