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

Side by Side Diff: src/accessors.h

Issue 262053011: Confusion on changing data property callback attributes (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebase. Created 6 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 | Annotate | Revision Log
« 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 "allocation.h" 8 #include "allocation.h"
9 #include "globals.h" 9 #include "globals.h"
10 10
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 Handle<String> name, 79 Handle<String> name,
80 int* object_offset); 80 int* object_offset);
81 81
82 static Handle<AccessorInfo> MakeAccessor( 82 static Handle<AccessorInfo> MakeAccessor(
83 Isolate* isolate, 83 Isolate* isolate,
84 Handle<String> name, 84 Handle<String> name,
85 AccessorGetterCallback getter, 85 AccessorGetterCallback getter,
86 AccessorSetterCallback setter, 86 AccessorSetterCallback setter,
87 PropertyAttributes attributes); 87 PropertyAttributes attributes);
88 88
89 static Handle<ExecutableAccessorInfo> CloneAccessor(
90 Isolate* isolate,
91 Handle<ExecutableAccessorInfo> accessor);
92
93
89 private: 94 private:
90 // Helper functions. 95 // Helper functions.
91 static Handle<Object> FlattenNumber(Isolate* isolate, Handle<Object> value); 96 static Handle<Object> FlattenNumber(Isolate* isolate, Handle<Object> value);
92 }; 97 };
93 98
94 } } // namespace v8::internal 99 } } // namespace v8::internal
95 100
96 #endif // V8_ACCESSORS_H_ 101 #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