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

Side by Side Diff: src/accessors.h

Issue 1600923002: [runtime] Stop cloning AccessorInfo, just rely on PropertyAttributes for readonly. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 11 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/accessors.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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_ACCESSORS_H_ 5 #ifndef V8_ACCESSORS_H_
6 #define V8_ACCESSORS_H_ 6 #define V8_ACCESSORS_H_
7 7
8 #include "include/v8.h" 8 #include "include/v8.h"
9 #include "src/allocation.h" 9 #include "src/allocation.h"
10 #include "src/globals.h" 10 #include "src/globals.h"
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 static bool IsJSArrayBufferViewFieldAccessor(Handle<Map> map, 93 static bool IsJSArrayBufferViewFieldAccessor(Handle<Map> map,
94 Handle<Name> name, 94 Handle<Name> name,
95 int* object_offset); 95 int* object_offset);
96 96
97 static Handle<AccessorInfo> MakeAccessor( 97 static Handle<AccessorInfo> MakeAccessor(
98 Isolate* isolate, 98 Isolate* isolate,
99 Handle<Name> name, 99 Handle<Name> name,
100 AccessorNameGetterCallback getter, 100 AccessorNameGetterCallback getter,
101 AccessorNameSetterCallback setter, 101 AccessorNameSetterCallback setter,
102 PropertyAttributes attributes); 102 PropertyAttributes attributes);
103
104 static Handle<AccessorInfo> CloneAccessor(Isolate* isolate,
105 Handle<AccessorInfo> accessor);
106 }; 103 };
107 104
108 } // namespace internal 105 } // namespace internal
109 } // namespace v8 106 } // namespace v8
110 107
111 #endif // V8_ACCESSORS_H_ 108 #endif // V8_ACCESSORS_H_
OLDNEW
« no previous file with comments | « no previous file | src/accessors.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698