HELLO·Android
系统源代码
IT资讯
技术文章
我的收藏
注册
登录
-
我收藏的文章
创建代码块
我的代码块
我的账号
Pie
|
9.0.0_r8
下载
查看原文件
收藏
根目录
external
v8
src
asmjs
asm-wasm-builder.cc
// Copyright 2015 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. #include "src/v8.h" // Required to get M_E etc. in MSVC. #if defined(_WIN32) #define _USE_MATH_DEFINES #endif #include
#include "src/asmjs/asm-types.h" #include "src/asmjs/asm-wasm-builder.h" #include "src/asmjs/switch-logic.h" #include "src/wasm/wasm-macro-gen.h" #include "src/wasm/wasm-opcodes.h" #include "src/ast/ast.h" #include "src/ast/scopes.h" #include "src/codegen.h" #include "src/compilation-info.h" #include "src/compiler.h" #include "src/counters.h" #include "src/isolate.h" #include "src/objects-inl.h" #include "src/parsing/parse-info.h" namespace v8 { namespace internal { namespace wasm { #define RECURSE(call) \ do { \ DCHECK(!HasStackOverflow()); \ call; \ if (HasStackOverflow()) return; \ } while (false) namespace { enum AsmScope { kModuleScope, kInitScope, kFuncScope, kExportScope }; enum ValueFate { kDrop, kLeaveOnStack }; struct ForeignVariable { Handle
name; Variable* var; ValueType type; }; enum TargetType : uint8_t { NoTarget, BreakTarget, ContinueTarget }; } // namespace class AsmWasmBuilderImpl final : public AstVisitor
{ public: AsmWasmBuilderImpl(Isolate* isolate, Zone* zone, CompilationInfo* info, AstValueFactory* ast_value_factory, Handle
登录后可以享受更多权益
您还没有登录,登录后您可以:
收藏Android系统代码
收藏喜欢的文章
多个平台共享账号
去登录
首次使用?从这里
注册