- 24 Mar, 2015 21 commits
-
-
aperez authored
Remove Variable::IsValidReference(), and the Variable::is_valid_ref_ member: This was "false" only for "this", and for internal variables. For the first, VariableProxy::is_this() can be used for the check instead; and for internal variables, it is guaranteed they they will not be written to (because the V8 code does not do it, and they are not accessible from JavaScript). The "bool is_this" parameter of VariableProxy() constructor is changed to use Variable::Kind. This will allow to later on adding a parameter to create unresolved variables of any kind, which in turn will be used to make references to "this" initially unresolved, and use the existing variable resolution mechanics for "this". BUG=v8:2700 LOG=N Review URL: https://codereview.chromium.org/1024703004 Cr-Commit-Position: refs/heads/master@{#27404}
-
loislo authored
it is the last patch of https://codereview.chromium.org/1012633002 All that we need here is to push the collected info to the profiler and convert it into actionable information about deopt. On the Next: get the info accessible by embedder. BUG=chromium:452067 LOG=n TEST=DeoptAtFirstLevelInlinedSource, DeoptAtSecondLevelInlinedSource, DeoptUntrackedFunction Review URL: https://codereview.chromium.org/1013143003 Cr-Commit-Position: refs/heads/master@{#27403}
-
caitpotter88 authored
BUG=v8:3980 R=arv@chromium.org LOG=N Review URL: https://codereview.chromium.org/1027183002 Cr-Commit-Position: refs/heads/master@{#27402}
-
titzer authored
R=mstarzinger@chromium.org BUG= Review URL: https://codereview.chromium.org/1032553006 Cr-Commit-Position: refs/heads/master@{#27401}
-
erikcorry authored
R=verwaest@chromium.org BUG= Review URL: https://codereview.chromium.org/1028393002 Cr-Commit-Position: refs/heads/master@{#27400}
-
verwaest authored
BUG= Review URL: https://codereview.chromium.org/1023103003 Cr-Commit-Position: refs/heads/master@{#27399}
-
machenbach authored
Revert of [V8] Removed SourceLocationRestrict (patchset #3 id:40001 of https://codereview.chromium.org/1022333004/) Reason for revert: [Sheriff] This seems to change layout test expectations of some tests, e.g.: http://build.chromium.org/p/client.v8/builders/V8-Blink%20Linux%2064%20%28dbg%29/builds/2317 Expectation example: https://storage.googleapis.com/chromium-layout-test-archives/V8-Blink_Linux_64__dbg_/2317/layout-test-results/fast/events/window-onerror-11-pretty-diff.html Please add a needsmanualrebaseline expectation to the tests affected by this change on the blink side first before relanding. Original issue's description: > [V8] Removed SourceLocationRestrict > > This method uses in messages.js in GetSourceLine and GetPositionInLine. This methods uses in v8::Message API methods and there is no documentation about it. > Method looks obsolete. > One of the strange side effect is shown by attached issue. > > BUG=chromium:468781 > R=yangguo@chromium.org > LOG=Y > > Committed: https://crrev.com/b563ceac0f95551a128a1403cdbacc7aefcdabaf > Cr-Commit-Position: refs/heads/master@{#27374} TBR=yangguo@chromium.org,kozyatinskiy@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=chromium:468781 Review URL: https://codereview.chromium.org/1028413002 Cr-Commit-Position: refs/heads/master@{#27398}
-
chunyang.dai authored
port e18e3cd4 (r27305) original commit message: [stubs] Add missing interface descriptor for the CompareIC. BUG= Review URL: https://codereview.chromium.org/1024553007 Cr-Commit-Position: refs/heads/master@{#27397}
-
chunyang.dai authored
port 7c149afb (r27275). original commit message: Serializer: serialize internal references via object visitor. BUG= Review URL: https://codereview.chromium.org/1029793002 Cr-Commit-Position: refs/heads/master@{#27396}
-
chunyang.dai authored
port 16c8485a (r27269). original commit message: Replaces StoreGlobalCell / LoadGlobalCell with NamedField variants that use write barriers. BUG= Review URL: https://codereview.chromium.org/1013543004 Cr-Commit-Position: refs/heads/master@{#27395}
-
chunyang.dai authored
port 34a1a76d (r27235) original commit message: A hydrogen code stub is not the best approach because it builds a frame and doesn't have the technology to discard roots at tail call exits. Platform-specific stubs provide much better performance at this point. BUG= Review URL: https://codereview.chromium.org/1025073005 Cr-Commit-Position: refs/heads/master@{#27394}
-
jacob.bramley authored
This reverts r21101. r21101 appears to be at fault for the ARM64 failures here: https://codereview.chromium.org/1023103003 BUG= Review URL: https://codereview.chromium.org/1019393003 Cr-Commit-Position: refs/heads/master@{#27393}
-
michael_dawson authored
Port d21fd154 Original commit message: BUG=v8:3900 LOG=N R=mbrandy@us.ibm.com, svenpanne@chromium.org, danno@chromium.org, jkummerow@chromium.org, dslomov@chromium.org Review URL: https://codereview.chromium.org/999613004 Cr-Commit-Position: refs/heads/master@{#27392}
-
michael_dawson authored
Port 3aa206b8 Original commit message: R=dcarney@chromium.org, yangguo@chromium.org BUG=v8:3952 LOG=n R=mbrandy@us.ibm.com, svenpanne@chromium.org, danno@chromium.org, jkummerow@chromium.org Review URL: https://codereview.chromium.org/1028313003 Cr-Commit-Position: refs/heads/master@{#27391}
-
michael_dawson authored
commit bef80fcf Original commit message: BUG=v8:3977 R=dslomov@chromium.org, arv@chromium.org LOG=N R=mbrandy@us.ibm.com, svenpanne@chromium.org, danno@chromium.org, jkummerow@chromium.org Review URL: https://codereview.chromium.org/1018043008 Cr-Commit-Position: refs/heads/master@{#27390}
-
yangguo authored
Revert of [es6] Object.getPrototypeOf should work with values (patchset #3 id:40001 of https://codereview.chromium.org/1014813003/) Reason for revert: Layout test failures. Please update layout test expectations before landing this, in order to not block the roll. Original issue's description: > [es6] Object.getPrototypeOf should work with values > > The final spec for Object.getPrototypeOf calls ToObject on the > parameter, which means that it should only throw for null and > undefined. For other non object values the prototype of the wrapper > should be used. > > BUG=v8:3964 > LOG=N > R=adamk, rossberg@chromium.org > > Committed: https://crrev.com/ea463a916bbe5994b0d2d04e8075058b373b2e2c > Cr-Commit-Position: refs/heads/master@{#27354} TBR=adamk@chromium.org,rossberg@chromium.org,arv@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=v8:3964 Review URL: https://codereview.chromium.org/1033623002 Cr-Commit-Position: refs/heads/master@{#27389}
-
michael_dawson authored
Port 7c149afb Original commit message: R=mbrandy@us.ibm.com, svenpanne@chromium.org, danno@chromium.org, jkummerow@chromium.org BUG= Review URL: https://codereview.chromium.org/1029723002 Cr-Commit-Position: refs/heads/master@{#27388}
-
michael_dawson authored
Port dda2bd6f Original commit message: R=mbrandy@us.ibm.com, svenpanne@chromium.org, danno@chromium.org, jkummerow@chromium.org BUG= Review URL: https://codereview.chromium.org/1028323002 Cr-Commit-Position: refs/heads/master@{#27387}
-
jochen authored
All users should use IdleNotificationDeadline() instead BUG=none R=hpayer@chromium.org LOG=y Review URL: https://codereview.chromium.org/1028163003 Cr-Commit-Position: refs/heads/master@{#27386}
-
chunyang.dai authored
port 15f82138 (r27263) original commit message: This relands commit 96f79568. This makes the Isolate::Throw logic not depend on a prediction of whether an exception is caught or uncaught. Such a prediction is inherently undecidable because a finally block can decide between consuming or re-throwing an exception depending on arbitray control flow. There still is a conservative prediction mechanism in place that components like the debugger or tracing can use for reporting. With this change we can get rid of the StackHandler::kind field, a pre-requisite to do table-based lookups of exception handlers. BUG= Review URL: https://codereview.chromium.org/1027413002 Cr-Commit-Position: refs/heads/master@{#27385}
-
yurys authored
Every time embedder calls v8::HeapProfiler::GetHeapStats we store next unuassigned heap object id and timestamp of the request. This patch serializes all that data into heap snapshot so that embedder can restore allocation timeline. BUG=chromium:467222 LOG=Y Review URL: https://codereview.chromium.org/1019813004 Cr-Commit-Position: refs/heads/master@{#27384}
-
- 23 Mar, 2015 19 commits
-
-
akos.palfi authored
Port 6689cc27 Original commit message: Handlers should be in charge of this work. The change uncovered a bug in vector-ics related to keyed loads into strings. It's important for StringCharCodeAtGenerator, a helper used in full code and in LoadIndexedStringStub (a handler) to protect the vector and slot registers when it makes a runtime call to convert a HeapNumber to a Smi. It's still possible for the handler to MISS after this call, perhaps due to out of bounds access. In that case, the vector and slot registers need to be delivered safely to the MISS handler. BUG= Review URL: https://codereview.chromium.org/1025303005 Cr-Commit-Position: refs/heads/master@{#27383}
-
michael_dawson authored
Port 8c0d2897 Original commit message: R=mbrandy@us.ibm.com, svenpanne@chromium.org BUG= Review URL: https://codereview.chromium.org/1019843003 Cr-Commit-Position: refs/heads/master@{#27382}
-
michael_dawson authored
Port 15f82138 Original commit message: This relands commit 96f79568. This makes the Isolate::Throw logic not depend on a prediction of whether an exception is caught or uncaught. Such a prediction is inherently undecidable because a finally block can decide between consuming or re-throwing an exception depending on arbitray control flow. There still is a conservative prediction mechanism in place that components like the debugger or tracing can use for reporting. With this change we can get rid of the StackHandler::kind field, a pre-requisite to do table-based lookups of exception handlers. R=mbrandy@us.ibm.com, yangguo@chromium.org, svenpanne@chromium.org BUG= Review URL: https://codereview.chromium.org/1016333002 Cr-Commit-Position: refs/heads/master@{#27381}
-
michael_dawson authored
Port 16c8485a Original commit message: Replaces StoreGlobalCell / LoadGlobalCell with NamedField variants that use write barriers. R=mbrandy@us.ibm.com, svenpanne@chromium.org BUG= Review URL: https://codereview.chromium.org/1018333003 Cr-Commit-Position: refs/heads/master@{#27380}
-
verwaest authored
BUG= Review URL: https://codereview.chromium.org/1017263003 Cr-Commit-Position: refs/heads/master@{#27379}
-
mstarzinger authored
R=titzer@chromium.org Review URL: https://codereview.chromium.org/1029643002 Cr-Commit-Position: refs/heads/master@{#27378}
-
mvstanton authored
Handlers should be in charge of this work. The change uncovered a bug in vector-ics related to keyed loads into strings. It's important for StringCharCodeAtGenerator, a helper used in full code and in LoadIndexedStringStub (a handler) to protect the vector and slot registers when it makes a runtime call to convert a HeapNumber to a Smi. It's still possible for the handler to MISS after this call, perhaps due to out of bounds access. In that case, the vector and slot registers need to be delivered safely to the MISS handler. BUG= Review URL: https://codereview.chromium.org/1028093002 Cr-Commit-Position: refs/heads/master@{#27377}
-
mstarzinger authored
This removes the stub-based constructor from CompilationInfoWithZone as this class is more than a pure convenience class and only by chance doesn't have an effect in the destructor. R=titzer@chromium.org Review URL: https://codereview.chromium.org/1026513004 Cr-Commit-Position: refs/heads/master@{#27376}
-
ulan authored
BUG= Review URL: https://codereview.chromium.org/1025333002 Cr-Commit-Position: refs/heads/master@{#27375}
-
kozyatinskiy authored
This method uses in messages.js in GetSourceLine and GetPositionInLine. This methods uses in v8::Message API methods and there is no documentation about it. Method looks obsolete. One of the strange side effect is shown by attached issue. BUG=chromium:468781 R=yangguo@chromium.org LOG=Y Review URL: https://codereview.chromium.org/1022333004 Cr-Commit-Position: refs/heads/master@{#27374}
-
dcarney authored
R=jarin@chromium.org BUG= Review URL: https://codereview.chromium.org/1018853003 Cr-Commit-Position: refs/heads/master@{#27373}
-
caitpotter88 authored
15.5.4.6 5.b requires each part to be converted using ToString(). This also needs to occur in the single argument fast-case. BUG=v8:3981 R=arv@chromium.org LOG=N Review URL: https://codereview.chromium.org/1029103002 Cr-Commit-Position: refs/heads/master@{#27372}
-
verwaest authored
BUG= Review URL: https://codereview.chromium.org/1009123003 Cr-Commit-Position: refs/heads/master@{#27371}
-
kozyatinskiy authored
Readded after https://codereview.chromium.org/1029063002/ with correct line endings. R=yangguo@chromium.org Review URL: https://codereview.chromium.org/1032443002 Cr-Commit-Position: refs/heads/master@{#27370}
-
titzer authored
R=svenpanne@chromium.org BUG= Review URL: https://codereview.chromium.org/1028973002 Cr-Commit-Position: refs/heads/master@{#27369}
-
kozyatinskiy authored
We can't simple delete and add one file in one CL. This is necessary for replacing this test with version with LF line endings. R=yangguo@chromium.org Review URL: https://codereview.chromium.org/1029063002 Cr-Commit-Position: refs/heads/master@{#27368}
-
mstarzinger authored
This allows using %OptimizeFunctionOnNextCall and friends even when Crankshaft is disabled. Note that this should only affect code paths that are not relevant to performance. By now we have a single bailout point in place within OptimizedCompileJob::CreateGraph that ensures Crankshaft is only used when enabled and supported. R=titzer@chromium.org Review URL: https://codereview.chromium.org/999173007 Cr-Commit-Position: refs/heads/master@{#27367}
-
titzer authored
R=jarin@chromium.org BUG=chromium:469605 LOG=Y Review URL: https://codereview.chromium.org/1030623003 Cr-Commit-Position: refs/heads/master@{#27366}
-
michael_dawson authored
Port 34a1a76d Original commit message: A hydrogen code stub is not the best approach because it builds a frame and doesn't have the technology to discard roots at tail call exits. Platform-specific stubs provide much better performance at this point. R=verwaest@chromium.org, mbrandy@us.ibm.com BUG= Review URL: https://codereview.chromium.org/1019003002 Cr-Commit-Position: refs/heads/master@{#27365}
-