Changeset 164459 in webkit for trunk/Source/JavaScriptCore/dfg/DFGBlockInsertionSet.cpp
- Timestamp:
- Feb 20, 2014, 5:20:48 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/dfg/DFGBlockInsertionSet.cpp
r164229 r164459 1 1 /* 2 * Copyright (C) 2013 Apple Inc. All rights reserved.2 * Copyright (C) 2013, 2014 Apple Inc. All rights reserved. 3 3 * 4 4 * Redistribution and use in source and binary forms, with or without … … 50 50 } 51 51 52 BasicBlock* BlockInsertionSet::insert(size_t index )52 BasicBlock* BlockInsertionSet::insert(size_t index, float executionCount) 53 53 { 54 54 RefPtr<BasicBlock> block = adoptRef(new BasicBlock( 55 55 UINT_MAX, 56 56 m_graph.block(0)->variablesAtHead.numberOfArguments(), 57 m_graph.block(0)->variablesAtHead.numberOfLocals())); 57 m_graph.block(0)->variablesAtHead.numberOfLocals(), 58 executionCount)); 58 59 block->isReachable = true; 59 60 insert(index, block); … … 61 62 } 62 63 63 BasicBlock* BlockInsertionSet::insertBefore(BasicBlock* before )64 BasicBlock* BlockInsertionSet::insertBefore(BasicBlock* before, float executionCount) 64 65 { 65 return insert(before->index );66 return insert(before->index, executionCount); 66 67 } 67 68
Note:
See TracChangeset
for help on using the changeset viewer.