Changeset 179392 in webkit for trunk/Source/JavaScriptCore/bytecode/CallEdge.h
- Timestamp:
- Jan 29, 2015, 8:28:36 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/bytecode/CallEdge.h
r179357 r179392 1 1 /* 2 * Copyright (C) 2014 , 2015Apple Inc. All rights reserved.2 * Copyright (C) 2014 Apple Inc. All rights reserved. 3 3 * 4 4 * Redistribution and use in source and binary forms, with or without … … 31 31 namespace JSC { 32 32 33 typedef uint16_t CallEdgeCountType; 34 33 35 class CallEdge { 34 36 public: 35 37 CallEdge(); 36 CallEdge(CallVariant, uint32_t);38 CallEdge(CallVariant, CallEdgeCountType); 37 39 38 40 bool operator!() const { return !m_callee; } 39 41 40 42 CallVariant callee() const { return m_callee; } 41 uint32_tcount() const { return m_count; }43 CallEdgeCountType count() const { return m_count; } 42 44 43 45 CallEdge despecifiedClosure() const … … 48 50 void dump(PrintStream&) const; 49 51 50 p rivate:52 public: 51 53 CallVariant m_callee; 52 uint32_tm_count;54 CallEdgeCountType m_count; 53 55 }; 54 56 55 inline CallEdge::CallEdge(CallVariant callee, uint32_tcount)57 inline CallEdge::CallEdge(CallVariant callee, CallEdgeCountType count) 56 58 : m_callee(callee) 57 59 , m_count(count)
Note:
See TracChangeset
for help on using the changeset viewer.