Changeset 179477 in webkit for trunk/Source/JavaScriptCore/dfg/DFGStrengthReductionPhase.cpp
- Timestamp:
- Feb 2, 2015, 10:15:44 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/dfg/DFGStrengthReductionPhase.cpp
r176479 r179477 1 1 /* 2 * Copyright (C) 2013 , 2014Apple Inc. All rights reserved.2 * Copyright (C) 2013-2015 Apple Inc. All rights reserved. 3 3 * 4 4 * Redistribution and use in source and binary forms, with or without … … 281 281 break; 282 282 283 m_node->convertToPhantom();284 Node* dataNode = setLocal->child1().node();285 DFG_ASSERT(m_graph, m_node, dataNode->hasResult());286 m_node->c hild1() = dataNode->defaultEdge();283 // The Flush should become a PhantomLocal at this point. This means that we want the 284 // local's value during OSR, but we don't care if the value is stored to the stack. CPS 285 // rethreading can canonicalize PhantomLocals for us. 286 m_node->convertFlushToPhantomLocal(); 287 287 m_graph.dethread(); 288 288 m_changed = true;
Note:
See TracChangeset
for help on using the changeset viewer.