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

Side by Side Diff: src/accessors.h

Issue 879553002: [V8] Added Script::is_debugger_script flag for embedders (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 10 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 | « include/v8.h ('k') | 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 "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/globals.h" 9 #include "src/globals.h"
10 10
(...skipping 18 matching lines...) Expand all
29 V(ScriptEvalFromScriptPosition) \ 29 V(ScriptEvalFromScriptPosition) \
30 V(ScriptEvalFromFunctionName) \ 30 V(ScriptEvalFromFunctionName) \
31 V(ScriptId) \ 31 V(ScriptId) \
32 V(ScriptLineEnds) \ 32 V(ScriptLineEnds) \
33 V(ScriptLineOffset) \ 33 V(ScriptLineOffset) \
34 V(ScriptName) \ 34 V(ScriptName) \
35 V(ScriptSource) \ 35 V(ScriptSource) \
36 V(ScriptType) \ 36 V(ScriptType) \
37 V(ScriptSourceUrl) \ 37 V(ScriptSourceUrl) \
38 V(ScriptSourceMappingUrl) \ 38 V(ScriptSourceMappingUrl) \
39 V(ScriptIsEmbedderDebugScript) \
39 V(StringLength) 40 V(StringLength)
40 41
41 // Accessors contains all predefined proxy accessors. 42 // Accessors contains all predefined proxy accessors.
42 43
43 class Accessors : public AllStatic { 44 class Accessors : public AllStatic {
44 public: 45 public:
45 // Accessor descriptors. 46 // Accessor descriptors.
46 #define ACCESSOR_INFO_DECLARATION(name) \ 47 #define ACCESSOR_INFO_DECLARATION(name) \
47 static void name##Getter( \ 48 static void name##Getter( \
48 v8::Local<v8::Name> name, \ 49 v8::Local<v8::Name> name, \
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 96
96 97
97 private: 98 private:
98 // Helper functions. 99 // Helper functions.
99 static Handle<Object> FlattenNumber(Isolate* isolate, Handle<Object> value); 100 static Handle<Object> FlattenNumber(Isolate* isolate, Handle<Object> value);
100 }; 101 };
101 102
102 } } // namespace v8::internal 103 } } // namespace v8::internal
103 104
104 #endif // V8_ACCESSORS_H_ 105 #endif // V8_ACCESSORS_H_
OLDNEW
« no previous file with comments | « include/v8.h ('k') | src/accessors.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698