Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Contribute to GitLab
  • Sign in / Register
V
V8
  • Project
    • Project
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Linshizhi
  • V8
  • Repository

Switch branch/tag
  • v8
  • test
  • mjsunit
  • regress
  • regress-5927.js
Find file
BlameHistoryPermalink
  • Georg Neis's avatar
    [interpreter] When generating bytecode, properly track current scope. · 86863683
    Georg Neis authored Feb 19, 2017
    The bytecode generator did not necessarily know for which scope, and
    thus language mode, it was generating code, because it only tracked
    scopes that have a context.  This led to wrong behavior in some
    examples involving class expressions (which are always in strict
    mode).
    
    With this CL, the bytecode generator explicitly tracks the current
    scope, independent of whether it has a context.
    
    BUG=v8:5927
    
    Change-Id: Ifa6b3ee5e13e07b63d00e74c7f557a328633c88b
    Reviewed-on: https://chromium-review.googlesource.com/444785
    Commit-Queue: Georg Neis <neis@chromium.org>
    Reviewed-by: 's avatarRoss McIlroy <rmcilroy@chromium.org>
    Reviewed-by: 's avatarAdam Klein <adamk@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#43300}
    86863683
regress-5927.js 320 Bytes
EditWeb IDE

Replace regress-5927.js

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.