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

Side by Side Diff: src/arguments.h

Issue 22267005: Use StackArgumenstAccessor and kPCOnStackSize/kFPOnStackSize to compute stack address/operand (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebased with master Created 7 years, 3 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/x64/builtins-x64.cc » ('j') | src/x64/stub-cache-x64.cc » ('J')
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 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 }; 231 };
232 232
233 233
234 class FunctionCallbackArguments 234 class FunctionCallbackArguments
235 : public CustomArguments<FunctionCallbackInfo<Value> > { 235 : public CustomArguments<FunctionCallbackInfo<Value> > {
236 public: 236 public:
237 typedef FunctionCallbackInfo<Value> T; 237 typedef FunctionCallbackInfo<Value> T;
238 typedef CustomArguments<T> Super; 238 typedef CustomArguments<T> Super;
239 static const int kArgsLength = T::kArgsLength; 239 static const int kArgsLength = T::kArgsLength;
240 static const int kHolderIndex = T::kHolderIndex; 240 static const int kHolderIndex = T::kHolderIndex;
241 static const int kContextSaveIndex = T::kContextSaveIndex;
haitao.feng 2013/09/22 09:44:28 This change needs review.
241 242
242 FunctionCallbackArguments(internal::Isolate* isolate, 243 FunctionCallbackArguments(internal::Isolate* isolate,
243 internal::Object* data, 244 internal::Object* data,
244 internal::JSFunction* callee, 245 internal::JSFunction* callee,
245 internal::Object* holder, 246 internal::Object* holder,
246 internal::Object** argv, 247 internal::Object** argv,
247 int argc, 248 int argc,
248 bool is_construct_call) 249 bool is_construct_call)
249 : Super(isolate), 250 : Super(isolate),
250 argv_(argv), 251 argv_(argv),
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 return __RT_impl_##Name(args, isolate); \ 294 return __RT_impl_##Name(args, isolate); \
294 } \ 295 } \
295 static Type __RT_impl_##Name(Arguments args, Isolate* isolate) 296 static Type __RT_impl_##Name(Arguments args, Isolate* isolate)
296 297
297 #define RUNTIME_ARGUMENTS(isolate, args) \ 298 #define RUNTIME_ARGUMENTS(isolate, args) \
298 args.length(), args.arguments(), isolate 299 args.length(), args.arguments(), isolate
299 300
300 } } // namespace v8::internal 301 } } // namespace v8::internal
301 302
302 #endif // V8_ARGUMENTS_H_ 303 #endif // V8_ARGUMENTS_H_
OLDNEW
« no previous file with comments | « no previous file | src/x64/builtins-x64.cc » ('j') | src/x64/stub-cache-x64.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698