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
  • readonly4.js
Find file
BlameHistoryPermalink
  • verwaest@chromium.org's avatar
    Change LookupForWrite to always do a full lookup and check the result. · a8b3215a
    verwaest@chromium.org authored Mar 25, 2013
    If we find a property in the prototype-chain that we can overwrite, and
    we have a transition, keep the holder in the lookup-result as the actual
    holder. We will need it for the consistency-check in GenerateStoreField.
    
    By directly checking the entire chain we avoid having to lazily bail out
    to a copy of the miss stub while generating the Field Store IC.
    
    Currently this CL disallows a normal non-receiver holder, given that
    that would require a positive lookup + details verification to ensure
    the property did not become read-only. This fixes the regressions in the
    attached tests.
    
    Review URL: https://chromiumcodereview.appspot.com/12810006
    
    git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@14061 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
    a8b3215a
readonly4.js 2.32 KB
EditWeb IDE

Replace readonly4.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.