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

Side by Side Diff: src/objects.h

Issue 1940913002: [interpreter] Remove SharedFunctionInfo::IsInterpreted. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 7 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/factory.cc ('k') | src/objects-inl.h » ('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 6731 matching lines...) Expand 10 before | Expand all | Expand 10 after
6742 // [function data]: This field holds some additional data for function. 6742 // [function data]: This field holds some additional data for function.
6743 // Currently it has one of: 6743 // Currently it has one of:
6744 // - a FunctionTemplateInfo to make benefit the API [IsApiFunction()]. 6744 // - a FunctionTemplateInfo to make benefit the API [IsApiFunction()].
6745 // - a BytecodeArray for the interpreter [HasBytecodeArray()]. 6745 // - a BytecodeArray for the interpreter [HasBytecodeArray()].
6746 DECL_ACCESSORS(function_data, Object) 6746 DECL_ACCESSORS(function_data, Object)
6747 6747
6748 inline bool IsApiFunction(); 6748 inline bool IsApiFunction();
6749 inline FunctionTemplateInfo* get_api_func_data(); 6749 inline FunctionTemplateInfo* get_api_func_data();
6750 inline void set_api_func_data(FunctionTemplateInfo* data); 6750 inline void set_api_func_data(FunctionTemplateInfo* data);
6751 inline bool HasBytecodeArray(); 6751 inline bool HasBytecodeArray();
6752 inline bool IsInterpreted();
6753 inline BytecodeArray* bytecode_array(); 6752 inline BytecodeArray* bytecode_array();
6754 inline void set_bytecode_array(BytecodeArray* bytecode); 6753 inline void set_bytecode_array(BytecodeArray* bytecode);
6755 inline void ClearBytecodeArray(); 6754 inline void ClearBytecodeArray();
6756 6755
6757 // [function identifier]: This field holds an additional identifier for the 6756 // [function identifier]: This field holds an additional identifier for the
6758 // function. 6757 // function.
6759 // - a Smi identifying a builtin function [HasBuiltinFunctionId()]. 6758 // - a Smi identifying a builtin function [HasBuiltinFunctionId()].
6760 // - a String identifying the function's inferred name [HasInferredName()]. 6759 // - a String identifying the function's inferred name [HasInferredName()].
6761 // The inferred_name is inferred from variable or property 6760 // The inferred_name is inferred from variable or property
6762 // assignment of this function. It is used to facilitate debugging and 6761 // assignment of this function. It is used to facilitate debugging and
(...skipping 4019 matching lines...) Expand 10 before | Expand all | Expand 10 after
10782 } 10781 }
10783 return value; 10782 return value;
10784 } 10783 }
10785 }; 10784 };
10786 10785
10787 10786
10788 } // NOLINT, false-positive due to second-order macros. 10787 } // NOLINT, false-positive due to second-order macros.
10789 } // NOLINT, false-positive due to second-order macros. 10788 } // NOLINT, false-positive due to second-order macros.
10790 10789
10791 #endif // V8_OBJECTS_H_ 10790 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/factory.cc ('k') | src/objects-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698