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

Side by Side Diff: src/objects.h

Issue 2657413002: No need to collect literal counts.
Patch Set: Rebase. 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 | « 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 #include <memory> 9 #include <memory>
10 10
(...skipping 7103 matching lines...) Expand 10 before | Expand all | Expand 10 after
7114 inline bool HasBuiltinFunctionId(); 7114 inline bool HasBuiltinFunctionId();
7115 inline BuiltinFunctionId builtin_function_id(); 7115 inline BuiltinFunctionId builtin_function_id();
7116 inline void set_builtin_function_id(BuiltinFunctionId id); 7116 inline void set_builtin_function_id(BuiltinFunctionId id);
7117 inline bool HasInferredName(); 7117 inline bool HasInferredName();
7118 inline String* inferred_name(); 7118 inline String* inferred_name();
7119 inline void set_inferred_name(String* inferred_name); 7119 inline void set_inferred_name(String* inferred_name);
7120 7120
7121 // [script]: Script from which the function originates. 7121 // [script]: Script from which the function originates.
7122 DECL_ACCESSORS(script, Object) 7122 DECL_ACCESSORS(script, Object)
7123 7123
7124 // [num_literals]: Number of literals used by this function.
7125 inline int num_literals() const;
7126 inline void set_num_literals(int value);
7127
7128 // [start_position_and_type]: Field used to store both the source code 7124 // [start_position_and_type]: Field used to store both the source code
7129 // position, whether or not the function is a function expression, 7125 // position, whether or not the function is a function expression,
7130 // and whether or not the function is a toplevel function. The two 7126 // and whether or not the function is a toplevel function. The two
7131 // least significants bit indicates whether the function is an 7127 // least significants bit indicates whether the function is an
7132 // expression and the rest contains the source code position. 7128 // expression and the rest contains the source code position.
7133 inline int start_position_and_type() const; 7129 inline int start_position_and_type() const;
7134 inline void set_start_position_and_type(int value); 7130 inline void set_start_position_and_type(int value);
7135 7131
7136 // The function is subject to debugging if a debug info is attached. 7132 // The function is subject to debugging if a debug info is attached.
7137 inline bool HasDebugInfo() const; 7133 inline bool HasDebugInfo() const;
(...skipping 4413 matching lines...) Expand 10 before | Expand all | Expand 10 after
11551 } 11547 }
11552 }; 11548 };
11553 11549
11554 11550
11555 } // NOLINT, false-positive due to second-order macros. 11551 } // NOLINT, false-positive due to second-order macros.
11556 } // NOLINT, false-positive due to second-order macros. 11552 } // NOLINT, false-positive due to second-order macros.
11557 11553
11558 #include "src/objects/object-macros-undef.h" 11554 #include "src/objects/object-macros-undef.h"
11559 11555
11560 #endif // V8_OBJECTS_H_ 11556 #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