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

Side by Side Diff: src/crankshaft/hydrogen.h

Issue 2251673003: Revert of [Interpreter] Introduce InterpreterCompilationJob (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@offheap_peekhole
Patch Set: Created 4 years, 4 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
« no previous file with comments | « src/compiler/wasm-compiler.cc ('k') | src/crankshaft/hydrogen.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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_CRANKSHAFT_HYDROGEN_H_ 5 #ifndef V8_CRANKSHAFT_HYDROGEN_H_
6 #define V8_CRANKSHAFT_HYDROGEN_H_ 6 #define V8_CRANKSHAFT_HYDROGEN_H_
7 7
8 #include "src/accessors.h" 8 #include "src/accessors.h"
9 #include "src/allocation.h" 9 #include "src/allocation.h"
10 #include "src/ast/ast-type-bounds.h" 10 #include "src/ast/ast-type-bounds.h"
(...skipping 26 matching lines...) Expand all
37 public: 37 public:
38 explicit HCompilationJob(Handle<JSFunction> function) 38 explicit HCompilationJob(Handle<JSFunction> function)
39 : CompilationJob(&info_, "Crankshaft"), 39 : CompilationJob(&info_, "Crankshaft"),
40 zone_(function->GetIsolate()->allocator()), 40 zone_(function->GetIsolate()->allocator()),
41 parse_info_(&zone_, function), 41 parse_info_(&zone_, function),
42 info_(&parse_info_, function), 42 info_(&parse_info_, function),
43 graph_(nullptr), 43 graph_(nullptr),
44 chunk_(nullptr) {} 44 chunk_(nullptr) {}
45 45
46 protected: 46 protected:
47 virtual Status PrepareJobImpl(); 47 virtual Status CreateGraphImpl();
48 virtual Status ExecuteJobImpl(); 48 virtual Status OptimizeGraphImpl();
49 virtual Status FinalizeJobImpl(); 49 virtual Status GenerateCodeImpl();
50 50
51 private: 51 private:
52 Zone zone_; 52 Zone zone_;
53 ParseInfo parse_info_; 53 ParseInfo parse_info_;
54 CompilationInfo info_; 54 CompilationInfo info_;
55 HGraph* graph_; 55 HGraph* graph_;
56 LChunk* chunk_; 56 LChunk* chunk_;
57 }; 57 };
58 58
59 class HBasicBlock final : public ZoneObject { 59 class HBasicBlock final : public ZoneObject {
(...skipping 2981 matching lines...) Expand 10 before | Expand all | Expand 10 after
3041 } 3041 }
3042 3042
3043 private: 3043 private:
3044 HOptimizedGraphBuilder* builder_; 3044 HOptimizedGraphBuilder* builder_;
3045 }; 3045 };
3046 3046
3047 } // namespace internal 3047 } // namespace internal
3048 } // namespace v8 3048 } // namespace v8
3049 3049
3050 #endif // V8_CRANKSHAFT_HYDROGEN_H_ 3050 #endif // V8_CRANKSHAFT_HYDROGEN_H_
OLDNEW
« no previous file with comments | « src/compiler/wasm-compiler.cc ('k') | src/crankshaft/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698