Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(48)

Side by Side Diff: src/hydrogen-osr.h

Issue 308313002: ARM64: Avoid regeneration of constants. Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/arm64/lithium-arm64.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_HYDROGEN_OSR_H_ 5 #ifndef V8_HYDROGEN_OSR_H_
6 #define V8_HYDROGEN_OSR_H_ 6 #define V8_HYDROGEN_OSR_H_
7 7
8 #include "hydrogen.h" 8 #include "hydrogen.h"
9 #include "ast.h" 9 #include "ast.h"
10 #include "zone.h" 10 #include "zone.h"
(...skipping 23 matching lines...) Expand all
34 // Process the OSR values and phis after initial graph optimization. 34 // Process the OSR values and phis after initial graph optimization.
35 void FinishOsrValues(); 35 void FinishOsrValues();
36 36
37 // Return the number of slots in the unoptimized frame at the entry to OSR. 37 // Return the number of slots in the unoptimized frame at the entry to OSR.
38 int UnoptimizedFrameSlots() const { 38 int UnoptimizedFrameSlots() const {
39 return unoptimized_frame_slots_; 39 return unoptimized_frame_slots_;
40 } 40 }
41 41
42 bool HasOsrEntryAt(IterationStatement* statement); 42 bool HasOsrEntryAt(IterationStatement* statement);
43 43
44 HBasicBlock* osr_entry() { return osr_entry_; }
45
44 private: 46 private:
45 int unoptimized_frame_slots_; 47 int unoptimized_frame_slots_;
46 HOptimizedGraphBuilder* builder_; 48 HOptimizedGraphBuilder* builder_;
47 HBasicBlock* osr_entry_; 49 HBasicBlock* osr_entry_;
48 HBasicBlock* osr_loop_entry_; 50 HBasicBlock* osr_loop_entry_;
49 ZoneList<HUnknownOSRValue*>* osr_values_; 51 ZoneList<HUnknownOSRValue*>* osr_values_;
50 }; 52 };
51 53
52 } } // namespace v8::internal 54 } } // namespace v8::internal
53 55
54 #endif // V8_HYDROGEN_OSR_H_ 56 #endif // V8_HYDROGEN_OSR_H_
OLDNEW
« no previous file with comments | « src/arm64/lithium-arm64.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698