HELLO·Android
系统源代码
IT资讯
技术文章
我的收藏
注册
登录
-
我收藏的文章
创建代码块
我的代码块
我的账号
Pie
|
9.0.0_r8
下载
查看原文件
收藏
根目录
external
v8
src
compilation-info.h
// Copyright 2016 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef V8_COMPILATION_INFO_H_ #define V8_COMPILATION_INFO_H_ #include
#include "src/compilation-dependencies.h" #include "src/frames.h" #include "src/globals.h" #include "src/handles.h" #include "src/objects.h" #include "src/source-position-table.h" #include "src/utils.h" #include "src/vector.h" namespace v8 { namespace internal { class DeclarationScope; class DeferredHandles; class FunctionLiteral; class JavaScriptFrame; class ParseInfo; class Isolate; class Zone; // CompilationInfo encapsulates some information known at compile time. It // is constructed based on the resources available at compile-time. class V8_EXPORT_PRIVATE CompilationInfo final { public: // Various configuration flags for a compilation, as well as some properties // of the compiled code produced by a compilation. enum Flag { kDeferredCalling = 1 << 0, kNonDeferredCalling = 1 << 1, kSavesCallerDoubles = 1 << 2, kRequiresFrame = 1 << 3, kDeoptimizationSupport = 1 << 4, kAccessorInliningEnabled = 1 << 5, kSerializing = 1 << 6, kFunctionContextSpecializing = 1 << 7, kFrameSpecializing = 1 << 8, kInliningEnabled = 1 << 9, kDisableFutureOptimization = 1 << 10, kSplittingEnabled = 1 << 11, kDeoptimizationEnabled = 1 << 12, kSourcePositionsEnabled = 1 << 13, kBailoutOnUninitialized = 1 << 14, kOptimizeFromBytecode = 1 << 15, kLoopPeelingEnabled = 1 << 16, }; CompilationInfo(Zone* zone, ParseInfo* parse_info, Handle
closure); CompilationInfo(Vector
debug_name, Isolate* isolate, Zone* zone, Code::Flags code_flags); ~CompilationInfo(); ParseInfo* parse_info() const { return parse_info_; } // ----------------------------------------------------------- // TODO(titzer): inline and delete accessors of ParseInfo // ----------------------------------------------------------- Handle
登录后可以享受更多权益
您还没有登录,登录后您可以:
收藏Android系统代码
收藏喜欢的文章
多个平台共享账号
去登录
首次使用?从这里
注册