- 14 Aug, 2015 6 commits
-
-
vogelheim authored
- Make the API look like v8::V8::InitializeICU. (That is: A static method call, not an object to be created on the stack.) - Fix path separator on Windows, by calling base::OS::isPathSeparator. - Move into API, so that it can be called by hello-world & friends. - Actually call it from hello-world and friends. R=jochen@chromium.org BUG= Review URL: https://codereview.chromium.org/1292053002 Cr-Commit-Position: refs/heads/master@{#30174}
-
yangguo authored
This is no longer necessary. Everything the callee needs should be in its context chain. R=jkummerow@chromium.org Review URL: https://codereview.chromium.org/1289203003 Cr-Commit-Position: refs/heads/master@{#30173}
-
mstarzinger authored
R=yangguo@chromium.org Review URL: https://codereview.chromium.org/1297583002 Cr-Commit-Position: refs/heads/master@{#30172}
-
mstarzinger authored
This CL is a pure refactoring that makes an empty compilation unit including just "foo.h" but not "foo-inl.h" compile without warnings or errors. This is needed to further reduce the header dependency tangle. This realizes above state for "spaces.h" and "mark-compact.h". R=hpayer@chromium.org Review URL: https://codereview.chromium.org/1288413002 Cr-Commit-Position: refs/heads/master@{#30171}
-
yangguo authored
R=jkummerow@chromium.org Review URL: https://codereview.chromium.org/1292533003 Cr-Commit-Position: refs/heads/master@{#30170}
-
v8-autoroll authored
Rolling v8/build/gyp to 6ee91ad8659871916f9aa840d42e1513befdf638 TBR=machenbach@chromium.org Review URL: https://codereview.chromium.org/1292633003 Cr-Commit-Position: refs/heads/master@{#30169}
-
- 13 Aug, 2015 27 commits
-
-
adamk authored
R=rossberg@chromium.org Review URL: https://codereview.chromium.org/1290193003 Cr-Commit-Position: refs/heads/master@{#30168}
-
rossberg authored
R=adamk@chromium.org BUG= Review URL: https://codereview.chromium.org/1286133003 Cr-Commit-Position: refs/heads/master@{#30167}
-
adamk authored
In doing so, fix calls CheckAndRewriteReferenceExpression to take proper start and end positions (instead of just pointing at the first token in the LHS expression). BUG=v8:4370 LOG=n Review URL: https://codereview.chromium.org/1290013002 Cr-Commit-Position: refs/heads/master@{#30166}
-
rmcilroy authored
BUG=v8:4280 LOG=N Review URL: https://codereview.chromium.org/1288893003 Cr-Commit-Position: refs/heads/master@{#30165}
-
mlippautz authored
Improves on aec8987b by not forcing external GCs (blink) through the GC epilogue callback. BUG=chromium:515795 LOG=N Review URL: https://codereview.chromium.org/1287323002 Cr-Commit-Position: refs/heads/master@{#30164}
-
oth authored
BUG=v8:4280 LOG=N Review URL: https://codereview.chromium.org/1294523002 Cr-Commit-Position: refs/heads/master@{#30163}
-
yangguo authored
R=mlippautz@chromium.org Review URL: https://codereview.chromium.org/1291043002 Cr-Commit-Position: refs/heads/master@{#30162}
-
mstarzinger authored
This tries to remove includes of "-inl.h" headers from normal ".h" headers, thereby reducing the chance of any cyclic dependencies and decreasing the average size of our compilation units. Note that this change still leaves 5 violations of that rule in the code. It only tackles "node.h" including "types-inl.h". R=titzer@chromium.org Review URL: https://codereview.chromium.org/1288053004 Cr-Commit-Position: refs/heads/master@{#30161}
-
adamk authored
This test enumerates properties on all the builtins and makes sure that they never change. In practice, this just generates busywork when trying to add new language features; I've never seen it catch an accidentally-exposed bit of API. Review URL: https://codereview.chromium.org/1275423006 Cr-Commit-Position: refs/heads/master@{#30160}
-
paul.lind authored
Was incorrectly loading BytecodeArray::kFrameSizeOffset as 64-bit int. TEST=cctest/test-interpreter/TestInterpreterReturn BUG= Review URL: https://codereview.chromium.org/1286343002 Cr-Commit-Position: refs/heads/master@{#30159}
-
mstarzinger authored
This CL us a pure refactoring that makes an empty compilation unit including just "foo.h" but not "foo-inl.h" compile without warnings or errors. This is needed to further reduce the header dependency tangle. R=rossberg@chromium.org Review URL: https://codereview.chromium.org/1290743005 Cr-Commit-Position: refs/heads/master@{#30158}
-
titzer authored
R=jarin@chromium.org BUG= Review URL: https://codereview.chromium.org/1292033002 Cr-Commit-Position: refs/heads/master@{#30157}
-
chunyang.dai authored
port b62dbf1e (r30132). original commit messge: Support for undetectable strings was officially dropped in https://codereview.chromium.org/916753002, but the compilers weren't fixed properly. BUG= Review URL: https://codereview.chromium.org/1287173002 Cr-Commit-Position: refs/heads/master@{#30156}
-
bmeurer authored
Revert of [runtime] Remove useless IN builtin. (patchset #2 id:20001 of https://codereview.chromium.org/1295433002/ ) Reason for revert: Breaks win32 nosnap Original issue's description: > [runtime] Remove useless IN builtin. > > Similar to DELETE, the IN builtin is just a thin wrapper for %HasElement > and %HasProperty anyway, and cannot be optimized, plus it had a weird > special fast case (which also involved at least one LOAD_IC plus some > intrinsic magic). > > R=yangguo@chromium.org,jarin@chromium.org > > Committed: https://crrev.com/72d60a1e80e81e2e68ca402665e2acbc46c5e471 > Cr-Commit-Position: refs/heads/master@{#30154} TBR=yangguo@chromium.org,jarin@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true Review URL: https://codereview.chromium.org/1288923002 Cr-Commit-Position: refs/heads/master@{#30155}
-
bmeurer authored
Similar to DELETE, the IN builtin is just a thin wrapper for %HasElement and %HasProperty anyway, and cannot be optimized, plus it had a weird special fast case (which also involved at least one LOAD_IC plus some intrinsic magic). R=yangguo@chromium.org,jarin@chromium.org Review URL: https://codereview.chromium.org/1295433002 Cr-Commit-Position: refs/heads/master@{#30154}
-
yangguo authored
Revert of Debugger: use a Map to cache mirrors. (patchset #1 id:1 of https://codereview.chromium.org/1287243002/ ) Reason for revert: Several nosnap and custom snapshot failures. Original issue's description: > Debugger: use a Map to cache mirrors. > > This makes mirror cache lookup O(1) instead of O(n). > The downside is that the lookup via handle is O(n). This > is fine because handles are only used in the JSON api, > which is not used by Chrome and on death row. > > Committed: https://crrev.com/890b1dfca84d9dfecdcfc56517ef541076c6eb1d > Cr-Commit-Position: refs/heads/master@{#30150} TBR=bmeurer@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true Review URL: https://codereview.chromium.org/1292023002 Cr-Commit-Position: refs/heads/master@{#30153}
-
mstarzinger authored
This CL us a pure refactoring that makes an empty compilation unit including just "object.h" but not "object-inl.h" compile without warnings or errors. This is needed to further reduce the header dependency tangle. R=bmeurer@chromium.org Review URL: https://codereview.chromium.org/1286403002 Cr-Commit-Position: refs/heads/master@{#30152}
-
rmcilroy authored
Modifies the BytecodeArrayBuilder to create register operands which are negative. This reduces the number of instructions to access registers by the interpreter and allows us to use positive register operands to access parameter values. Adds a Register class to keep register usage typesafe and simplify the convertion to bytecode operand values. BUG=v8:4280 LOG=N Review URL: https://codereview.chromium.org/1283313003 Cr-Commit-Position: refs/heads/master@{#30151}
-
yangguo authored
This makes mirror cache lookup O(1) instead of O(n). The downside is that the lookup via handle is O(n). This is fine because handles are only used in the JSON api, which is not used by Chrome and on death row. Review URL: https://codereview.chromium.org/1287243002 Cr-Commit-Position: refs/heads/master@{#30150}
-
yangguo authored
Review URL: https://codereview.chromium.org/1290063002 Cr-Commit-Position: refs/heads/master@{#30149}
-
bmeurer authored
The DELETE builtin calls through to %DeleteProperty anyway, so we can as well skip the builtin completely and always call into the runtime directly. Also add different entries depending on whether calling code is in sloppy or strict/strong mode. R=yangguo@chromium.org Review URL: https://codereview.chromium.org/1291973002 Cr-Commit-Position: refs/heads/master@{#30148}
-
Benedikt Meurer authored
R=yangguo@chromium.org Review URL: https://codereview.chromium.org/1293453002 . Cr-Commit-Position: refs/heads/master@{#30147}
-
bmeurer authored
In strong mode, whenever either operand to an addition is a string, both must be strings, so we can just use a simple string map check instead of the STRING_ADD_LEFT / STRING_ADD_RIGHT machinery, which tries to do sloppy and strict mode conversions before giving up. R=jarin@chromium.org Review URL: https://codereview.chromium.org/1287203002 Cr-Commit-Position: refs/heads/master@{#30146}
-
yangguo authored
Revert of Group lexical context variables for faster look up. (patchset #2 id:20001 of https://codereview.chromium.org/1281883002/ ) Reason for revert: This performance hack is no longer necessary. Original issue's description: > Group lexical context variables for faster look up. > > Currently, looking up a lexical context variable requires looking up > the variable name and then checking its mode. This can be a bottleneck > in Runtime_DeclareGlobals, even when no lexical context variables are > declared. > > R=rossberg@chromium.org > BUG=crbug:517778 > LOG=N > > Committed: https://crrev.com/a45ed17bb6aca02e940f13bbf456d660cccc86ae > Cr-Commit-Position: refs/heads/master@{#30075} TBR=rossberg@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=crbug:517778 Review URL: https://codereview.chromium.org/1290053002 Cr-Commit-Position: refs/heads/master@{#30145}
-
yangguo authored
Review URL: https://codereview.chromium.org/1285163003 Cr-Commit-Position: refs/heads/master@{#30144}
-
titzer authored
R=mstarzinger@chromium.org BUG= Review URL: https://codereview.chromium.org/1291553005 Cr-Commit-Position: refs/heads/master@{#30143}
-
v8-autoroll authored
Rolling v8/third_party/android_tools to 5722f90e94d02a8dc17b6edb93ead6839d5afcee TBR=machenbach@chromium.org Review URL: https://codereview.chromium.org/1290773008 Cr-Commit-Position: refs/heads/master@{#30142}
-
- 12 Aug, 2015 7 commits
-
-
littledan authored
This patch puts --harmony-sloppy into staging. Now that let, lexically-scoped functions and ES2015 sloppy mode const semantics have been split off into separate flags, the change only enables classes in sloppy mode. BUG=v8:3305 R=adamk LOG=Y Review URL: https://codereview.chromium.org/1288153003 Cr-Commit-Position: refs/heads/master@{#30141}
-
littledan authored
This patch strengthens testing of classes by verifying that the binding that they export externally follows block scoping, as opposed to var-style scoping. The tests are based on existing tests for let and const. R=adamk LOG=N BUG=v8:3305 Review URL: https://codereview.chromium.org/1286923002 Cr-Commit-Position: refs/heads/master@{#30140}
-
jfb authored
The operations were available on ARM64 and x86-32 but were unused. It has been conjectured that nontemporals can be used for rowhammer-like bitflips more easily than regular load/store operations. It is therefore desirable to avoid generating these instructions in the future. R= titzer, jochen, jln, Mark Seaborn, ruiq Review URL: https://codereview.chromium.org/1276113002 Cr-Commit-Position: refs/heads/master@{#30139}
-
binji authored
BUG=v8:4366 LOG=n Review URL: https://codereview.chromium.org/1287543004 Cr-Commit-Position: refs/heads/master@{#30138}
-
adamk authored
Also add a bigger warning to the header comment for the Maybe version. R=jochen@chromium.org Review URL: https://codereview.chromium.org/1276353003 Cr-Commit-Position: refs/heads/master@{#30137}
-
yangguo authored
R=jkummerow@chromium.org Review URL: https://codereview.chromium.org/1282793002 Cr-Commit-Position: refs/heads/master@{#30136}
-
bmeurer authored
Instead of using a sequence if (something == null && !IS_UNDETECTABLE(something))) { ... } which will be true if something is either null or undefined, it is way simpler and way more efficient to just write if (something === null || something === (void 0)) { ... } instead, which allows the compiler(s) to generate pretty decent code without any need to resort to type feedback from a CompareNil IC. R=yangguo@chromium.org Review URL: https://codereview.chromium.org/1288623003 Cr-Commit-Position: refs/heads/master@{#30135}
-