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

Side by Side Diff: src/compilation-info.h

Issue 2645403002: [Compiler] Enable use of seperate zones for parsing and compiling. (Closed)
Patch Set: Add back header Created 3 years, 10 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 | « no previous file | src/compilation-info.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 2016 the V8 project authors. All rights reserved. 1 // Copyright 2016 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_COMPILATION_INFO_H_ 5 #ifndef V8_COMPILATION_INFO_H_
6 #define V8_COMPILATION_INFO_H_ 6 #define V8_COMPILATION_INFO_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "src/compilation-dependencies.h" 10 #include "src/compilation-dependencies.h"
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 kInliningEnabled = 1 << 9, 46 kInliningEnabled = 1 << 9,
47 kDisableFutureOptimization = 1 << 10, 47 kDisableFutureOptimization = 1 << 10,
48 kSplittingEnabled = 1 << 11, 48 kSplittingEnabled = 1 << 11,
49 kDeoptimizationEnabled = 1 << 12, 49 kDeoptimizationEnabled = 1 << 12,
50 kSourcePositionsEnabled = 1 << 13, 50 kSourcePositionsEnabled = 1 << 13,
51 kBailoutOnUninitialized = 1 << 14, 51 kBailoutOnUninitialized = 1 << 14,
52 kOptimizeFromBytecode = 1 << 15, 52 kOptimizeFromBytecode = 1 << 15,
53 kLoopPeelingEnabled = 1 << 16, 53 kLoopPeelingEnabled = 1 << 16,
54 }; 54 };
55 55
56 CompilationInfo(ParseInfo* parse_info, Handle<JSFunction> closure); 56 CompilationInfo(Zone* zone, ParseInfo* parse_info,
57 Handle<JSFunction> closure);
57 CompilationInfo(Vector<const char> debug_name, Isolate* isolate, Zone* zone, 58 CompilationInfo(Vector<const char> debug_name, Isolate* isolate, Zone* zone,
58 Code::Flags code_flags); 59 Code::Flags code_flags);
59 ~CompilationInfo(); 60 ~CompilationInfo();
60 61
61 ParseInfo* parse_info() const { return parse_info_; } 62 ParseInfo* parse_info() const { return parse_info_; }
62 63
63 // ----------------------------------------------------------- 64 // -----------------------------------------------------------
64 // TODO(titzer): inline and delete accessors of ParseInfo 65 // TODO(titzer): inline and delete accessors of ParseInfo
65 // ----------------------------------------------------------- 66 // -----------------------------------------------------------
66 Handle<Script> script() const; 67 Handle<Script> script() const;
(...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after
386 387
387 Vector<const char> debug_name_; 388 Vector<const char> debug_name_;
388 389
389 DISALLOW_COPY_AND_ASSIGN(CompilationInfo); 390 DISALLOW_COPY_AND_ASSIGN(CompilationInfo);
390 }; 391 };
391 392
392 } // namespace internal 393 } // namespace internal
393 } // namespace v8 394 } // namespace v8
394 395
395 #endif // V8_COMPILATION_INFO_H_ 396 #endif // V8_COMPILATION_INFO_H_
OLDNEW
« no previous file with comments | « no previous file | src/compilation-info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698