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

Side by Side Diff: src/accessors.h

Issue 2490903002: Simplify accesses to Script::line_ends (Closed)
Patch Set: Address comments Created 4 years, 1 month 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 19 matching lines...) Expand all
30 V(FunctionName) \ 30 V(FunctionName) \
31 V(FunctionLength) \ 31 V(FunctionLength) \
32 V(FunctionPrototype) \ 32 V(FunctionPrototype) \
33 V(ScriptColumnOffset) \ 33 V(ScriptColumnOffset) \
34 V(ScriptCompilationType) \ 34 V(ScriptCompilationType) \
35 V(ScriptContextData) \ 35 V(ScriptContextData) \
36 V(ScriptEvalFromScript) \ 36 V(ScriptEvalFromScript) \
37 V(ScriptEvalFromScriptPosition) \ 37 V(ScriptEvalFromScriptPosition) \
38 V(ScriptEvalFromFunctionName) \ 38 V(ScriptEvalFromFunctionName) \
39 V(ScriptId) \ 39 V(ScriptId) \
40 V(ScriptLineEnds) \
41 V(ScriptLineOffset) \ 40 V(ScriptLineOffset) \
42 V(ScriptName) \ 41 V(ScriptName) \
43 V(ScriptSource) \ 42 V(ScriptSource) \
44 V(ScriptType) \ 43 V(ScriptType) \
45 V(ScriptSourceUrl) \ 44 V(ScriptSourceUrl) \
46 V(ScriptSourceMappingUrl) \ 45 V(ScriptSourceMappingUrl) \
47 V(ScriptIsEmbedderDebugScript) \ 46 V(ScriptIsEmbedderDebugScript) \
48 V(StringLength) 47 V(StringLength)
49 48
50 #define ACCESSOR_SETTER_LIST(V) \ 49 #define ACCESSOR_SETTER_LIST(V) \
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 113
115 static Handle<AccessorInfo> MakeAccessor( 114 static Handle<AccessorInfo> MakeAccessor(
116 Isolate* isolate, Handle<Name> name, AccessorNameGetterCallback getter, 115 Isolate* isolate, Handle<Name> name, AccessorNameGetterCallback getter,
117 AccessorNameBooleanSetterCallback setter, PropertyAttributes attributes); 116 AccessorNameBooleanSetterCallback setter, PropertyAttributes attributes);
118 }; 117 };
119 118
120 } // namespace internal 119 } // namespace internal
121 } // namespace v8 120 } // namespace v8
122 121
123 #endif // V8_ACCESSORS_H_ 122 #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