Revision f230a1cf deps/v8/src/hydrogen-osr.h
deps/v8/src/hydrogen-osr.h | ||
---|---|---|
45 | 45 |
osr_entry_(NULL), |
46 | 46 |
osr_loop_entry_(NULL), |
47 | 47 |
osr_values_(NULL) { } |
48 |
|
|
48 | 49 |
// Creates the loop entry block for the given statement, setting up OSR |
49 | 50 |
// entries as necessary, and sets the current block to the new block. |
50 |
HBasicBlock* BuildPossibleOsrLoopEntry(IterationStatement* statement);
|
|
51 |
HBasicBlock* BuildOsrLoopEntry(IterationStatement* statement); |
|
51 | 52 |
|
52 | 53 |
// Process the hydrogen graph after it has been completed, performing |
53 | 54 |
// any OSR-specific cleanups or changes. |
... | ... | |
61 | 62 |
return unoptimized_frame_slots_; |
62 | 63 |
} |
63 | 64 |
|
64 |
private: |
|
65 |
HBasicBlock* BuildLoopEntry(); |
|
66 | 65 |
bool HasOsrEntryAt(IterationStatement* statement); |
67 | 66 |
|
67 |
private: |
|
68 | 68 |
int unoptimized_frame_slots_; |
69 | 69 |
HOptimizedGraphBuilder* builder_; |
70 | 70 |
HBasicBlock* osr_entry_; |
Also available in: Unified diff