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

Side by Side Diff: src/objects.h

Issue 1778863002: [wasm] Create a proper map for functions created from WASM. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 9 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 | « no previous file | src/objects.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 7544 matching lines...) Expand 10 before | Expand all | Expand 10 after
7555 DECLARE_CAST(JSFunction) 7555 DECLARE_CAST(JSFunction)
7556 7556
7557 // Calculate the instance size and in-object properties count. 7557 // Calculate the instance size and in-object properties count.
7558 void CalculateInstanceSize(InstanceType instance_type, 7558 void CalculateInstanceSize(InstanceType instance_type,
7559 int requested_internal_fields, int* instance_size, 7559 int requested_internal_fields, int* instance_size,
7560 int* in_object_properties); 7560 int* in_object_properties);
7561 void CalculateInstanceSizeForDerivedClass(InstanceType instance_type, 7561 void CalculateInstanceSizeForDerivedClass(InstanceType instance_type,
7562 int requested_internal_fields, 7562 int requested_internal_fields,
7563 int* instance_size, 7563 int* instance_size,
7564 int* in_object_properties); 7564 int* in_object_properties);
7565 7565 static void CalculateInstanceSizeHelper(InstanceType instance_type,
7566 int requested_internal_fields,
7567 int requested_in_object_properties,
7568 int* instance_size,
7569 int* in_object_properties);
7566 // Visiting policy flags define whether the code entry or next function 7570 // Visiting policy flags define whether the code entry or next function
7567 // should be visited or not. 7571 // should be visited or not.
7568 enum BodyVisitingPolicy { 7572 enum BodyVisitingPolicy {
7569 kVisitCodeEntry = 1 << 0, 7573 kVisitCodeEntry = 1 << 0,
7570 kVisitNextFunction = 1 << 1, 7574 kVisitNextFunction = 1 << 1,
7571 7575
7572 kSkipCodeEntryAndNextFunction = 0, 7576 kSkipCodeEntryAndNextFunction = 0,
7573 kVisitCodeEntryAndNextFunction = kVisitCodeEntry | kVisitNextFunction 7577 kVisitCodeEntryAndNextFunction = kVisitCodeEntry | kVisitNextFunction
7574 }; 7578 };
7575 // Iterates the function object according to the visiting policy. 7579 // Iterates the function object according to the visiting policy.
(...skipping 3302 matching lines...) Expand 10 before | Expand all | Expand 10 after
10878 } 10882 }
10879 return value; 10883 return value;
10880 } 10884 }
10881 }; 10885 };
10882 10886
10883 10887
10884 } // NOLINT, false-positive due to second-order macros. 10888 } // NOLINT, false-positive due to second-order macros.
10885 } // NOLINT, false-positive due to second-order macros. 10889 } // NOLINT, false-positive due to second-order macros.
10886 10890
10887 #endif // V8_OBJECTS_H_ 10891 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « no previous file | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698