Changeset 209678 in webkit for trunk/Source/JavaScriptCore/dfg/DFGMinifiedNode.h
- Timestamp:
- Dec 10, 2016, 5:14:37 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/dfg/DFGMinifiedNode.h
r209654 r209678 1 1 /* 2 * Copyright (C) 2012, 2014 -2016Apple Inc. All rights reserved.2 * Copyright (C) 2012, 2014, 2015 Apple Inc. All rights reserved. 3 3 * 4 4 * Redistribution and use in source and binary forms, with or without … … 44 44 case PhantomDirectArguments: 45 45 case PhantomClonedArguments: 46 case GetArgumentRegister:47 46 return true; 48 47 default: … … 73 72 return bitwise_cast<InlineCallFrame*>(static_cast<uintptr_t>(m_info)); 74 73 } 75 76 bool hasArgumentIndex() const { return hasArgumentIndex(m_op); }77 78 unsigned argumentIndex() const { return static_cast<unsigned>(m_info); }79 74 80 75 static MinifiedID getID(MinifiedNode* node) { return node->id(); } … … 94 89 return type == PhantomDirectArguments || type == PhantomClonedArguments; 95 90 } 96 97 static bool hasArgumentIndex(NodeType type)98 {99 return type == GetArgumentRegister;100 }101 91 102 92 MinifiedID m_id;
Note:
See TracChangeset
for help on using the changeset viewer.