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

Side by Side Diff: src/api-arguments.h

Issue 2622863003: [debugger] infrastructure for side-effect-free debug-evaluate. (Closed)
Patch Set: fix mips one more time Created 3 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/api-arguments.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 2016 the V8 project authors. All rights reserved. 1 // Copyright 2016 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_API_ARGUMENTS_H_ 5 #ifndef V8_API_ARGUMENTS_H_
6 #define V8_API_ARGUMENTS_H_ 6 #define V8_API_ARGUMENTS_H_
7 7
8 #include "src/api.h" 8 #include "src/api.h"
9 #include "src/isolate.h" 9 #include "src/isolate.h"
10 10
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 inline Handle<Object> Call(IndexedPropertyDefinerCallback f, uint32_t index, 129 inline Handle<Object> Call(IndexedPropertyDefinerCallback f, uint32_t index,
130 const v8::PropertyDescriptor& desc); 130 const v8::PropertyDescriptor& desc);
131 131
132 inline void Call(AccessorNameSetterCallback f, Handle<Name> name, 132 inline void Call(AccessorNameSetterCallback f, Handle<Name> name,
133 Handle<Object> value); 133 Handle<Object> value);
134 134
135 private: 135 private:
136 inline JSObject* holder() { 136 inline JSObject* holder() {
137 return JSObject::cast(this->begin()[T::kHolderIndex]); 137 return JSObject::cast(this->begin()[T::kHolderIndex]);
138 } 138 }
139
140 bool PerformSideEffectCheck(Isolate* isolate, Address function);
139 }; 141 };
140 142
141 class FunctionCallbackArguments 143 class FunctionCallbackArguments
142 : public CustomArguments<FunctionCallbackInfo<Value> > { 144 : public CustomArguments<FunctionCallbackInfo<Value> > {
143 public: 145 public:
144 typedef FunctionCallbackInfo<Value> T; 146 typedef FunctionCallbackInfo<Value> T;
145 typedef CustomArguments<T> Super; 147 typedef CustomArguments<T> Super;
146 static const int kArgsLength = T::kArgsLength; 148 static const int kArgsLength = T::kArgsLength;
147 static const int kHolderIndex = T::kHolderIndex; 149 static const int kHolderIndex = T::kHolderIndex;
148 static const int kDataIndex = T::kDataIndex; 150 static const int kDataIndex = T::kDataIndex;
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 191
190 private: 192 private:
191 internal::Object** argv_; 193 internal::Object** argv_;
192 int argc_; 194 int argc_;
193 }; 195 };
194 196
195 } // namespace internal 197 } // namespace internal
196 } // namespace v8 198 } // namespace v8
197 199
198 #endif // V8_API_ARGUMENTS_H_ 200 #endif // V8_API_ARGUMENTS_H_
OLDNEW
« no previous file with comments | « no previous file | src/api-arguments.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698