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

Side by Side Diff: src/objects.h

Issue 2007943002: [runtime] Fix number of literals for builtin functions. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix unittest. Created 4 years, 6 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/compiler.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 7551 matching lines...) Expand 10 before | Expand all | Expand 10 after
7562 7562
7563 // Don't visit next function. 7563 // Don't visit next function.
7564 typedef BodyDescriptorImpl<kVisitCodeEntry> BodyDescriptorStrongCode; 7564 typedef BodyDescriptorImpl<kVisitCodeEntry> BodyDescriptorStrongCode;
7565 typedef BodyDescriptorImpl<kSkipCodeEntryAndNextFunction> 7565 typedef BodyDescriptorImpl<kSkipCodeEntryAndNextFunction>
7566 BodyDescriptorWeakCode; 7566 BodyDescriptorWeakCode;
7567 7567
7568 // Dispatched behavior. 7568 // Dispatched behavior.
7569 DECLARE_PRINTER(JSFunction) 7569 DECLARE_PRINTER(JSFunction)
7570 DECLARE_VERIFIER(JSFunction) 7570 DECLARE_VERIFIER(JSFunction)
7571 7571
7572 // Returns the number of allocated literals.
7573 inline int NumberOfLiterals();
7574
7575 // The function's name if it is configured, otherwise shared function info 7572 // The function's name if it is configured, otherwise shared function info
7576 // debug name. 7573 // debug name.
7577 static Handle<String> GetName(Handle<JSFunction> function); 7574 static Handle<String> GetName(Handle<JSFunction> function);
7578 7575
7579 // ES6 section 9.2.11 SetFunctionName 7576 // ES6 section 9.2.11 SetFunctionName
7580 // Because of the way this abstract operation is used in the spec, 7577 // Because of the way this abstract operation is used in the spec,
7581 // it should never fail. 7578 // it should never fail.
7582 static void SetName(Handle<JSFunction> function, Handle<Name> name, 7579 static void SetName(Handle<JSFunction> function, Handle<Name> name,
7583 Handle<String> prefix); 7580 Handle<String> prefix);
7584 7581
(...skipping 3185 matching lines...) Expand 10 before | Expand all | Expand 10 after
10770 } 10767 }
10771 return value; 10768 return value;
10772 } 10769 }
10773 }; 10770 };
10774 10771
10775 10772
10776 } // NOLINT, false-positive due to second-order macros. 10773 } // NOLINT, false-positive due to second-order macros.
10777 } // NOLINT, false-positive due to second-order macros. 10774 } // NOLINT, false-positive due to second-order macros.
10778 10775
10779 #endif // V8_OBJECTS_H_ 10776 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/compiler.cc ('k') | src/objects-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698