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

Side by Side Diff: src/objects.h

Issue 2057403003: Hooking up asm-wasm conversion. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fix Created 4 years, 5 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/mips64/builtins-mips64.cc ('k') | src/objects-debug.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 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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_OBJECTS_H_ 5 #ifndef V8_OBJECTS_H_
6 #define V8_OBJECTS_H_ 6 #define V8_OBJECTS_H_
7 7
8 #include <iosfwd> 8 #include <iosfwd>
9 9
10 #include "src/assert-scope.h" 10 #include "src/assert-scope.h"
(...skipping 6898 matching lines...) Expand 10 before | Expand all | Expand 10 after
6909 inline void set_unique_id(int value); 6909 inline void set_unique_id(int value);
6910 #endif 6910 #endif
6911 6911
6912 // [instance class name]: class name for instances. 6912 // [instance class name]: class name for instances.
6913 DECL_ACCESSORS(instance_class_name, Object) 6913 DECL_ACCESSORS(instance_class_name, Object)
6914 6914
6915 // [function data]: This field holds some additional data for function. 6915 // [function data]: This field holds some additional data for function.
6916 // Currently it has one of: 6916 // Currently it has one of:
6917 // - a FunctionTemplateInfo to make benefit the API [IsApiFunction()]. 6917 // - a FunctionTemplateInfo to make benefit the API [IsApiFunction()].
6918 // - a BytecodeArray for the interpreter [HasBytecodeArray()]. 6918 // - a BytecodeArray for the interpreter [HasBytecodeArray()].
6919 // - a FixedArray with Asm->Wasm conversion [HasAsmWasmData()].
6919 DECL_ACCESSORS(function_data, Object) 6920 DECL_ACCESSORS(function_data, Object)
6920 6921
6921 inline bool IsApiFunction(); 6922 inline bool IsApiFunction();
6922 inline FunctionTemplateInfo* get_api_func_data(); 6923 inline FunctionTemplateInfo* get_api_func_data();
6923 inline void set_api_func_data(FunctionTemplateInfo* data); 6924 inline void set_api_func_data(FunctionTemplateInfo* data);
6924 inline bool HasBytecodeArray(); 6925 inline bool HasBytecodeArray();
6925 inline BytecodeArray* bytecode_array(); 6926 inline BytecodeArray* bytecode_array();
6926 inline void set_bytecode_array(BytecodeArray* bytecode); 6927 inline void set_bytecode_array(BytecodeArray* bytecode);
6927 inline void ClearBytecodeArray(); 6928 inline void ClearBytecodeArray();
6929 inline bool HasAsmWasmData();
6930 inline FixedArray* asm_wasm_data();
6931 inline void set_asm_wasm_data(FixedArray* data);
6932 inline void ClearAsmWasmData();
6928 6933
6929 // [function identifier]: This field holds an additional identifier for the 6934 // [function identifier]: This field holds an additional identifier for the
6930 // function. 6935 // function.
6931 // - a Smi identifying a builtin function [HasBuiltinFunctionId()]. 6936 // - a Smi identifying a builtin function [HasBuiltinFunctionId()].
6932 // - a String identifying the function's inferred name [HasInferredName()]. 6937 // - a String identifying the function's inferred name [HasInferredName()].
6933 // The inferred_name is inferred from variable or property 6938 // The inferred_name is inferred from variable or property
6934 // assignment of this function. It is used to facilitate debugging and 6939 // assignment of this function. It is used to facilitate debugging and
6935 // profiling of JavaScript code written in OO style, where almost 6940 // profiling of JavaScript code written in OO style, where almost
6936 // all functions are anonymous but are assigned to object 6941 // all functions are anonymous but are assigned to object
6937 // properties. 6942 // properties.
(...skipping 4007 matching lines...) Expand 10 before | Expand all | Expand 10 after
10945 } 10950 }
10946 return value; 10951 return value;
10947 } 10952 }
10948 }; 10953 };
10949 10954
10950 10955
10951 } // NOLINT, false-positive due to second-order macros. 10956 } // NOLINT, false-positive due to second-order macros.
10952 } // NOLINT, false-positive due to second-order macros. 10957 } // NOLINT, false-positive due to second-order macros.
10953 10958
10954 #endif // V8_OBJECTS_H_ 10959 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/mips64/builtins-mips64.cc ('k') | src/objects-debug.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698