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

Side by Side Diff: src/arguments.h

Issue 7754022: Fix presubmit errors caused by updated depot tools (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 9 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 | « src/accessors.cc ('k') | src/arm/lithium-gap-resolver-arm.h » ('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 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 } 68 }
69 69
70 double number_at(int index) { 70 double number_at(int index) {
71 return (*this)[index]->Number(); 71 return (*this)[index]->Number();
72 } 72 }
73 73
74 // Get the total number of arguments including the receiver. 74 // Get the total number of arguments including the receiver.
75 int length() const { return length_; } 75 int length() const { return length_; }
76 76
77 Object** arguments() { return arguments_; } 77 Object** arguments() { return arguments_; }
78
78 private: 79 private:
79 int length_; 80 int length_;
80 Object** arguments_; 81 Object** arguments_;
81 }; 82 };
82 83
83 84
84 // Custom arguments replicate a small segment of stack that can be 85 // Custom arguments replicate a small segment of stack that can be
85 // accessed through an Arguments object the same way the actual stack 86 // accessed through an Arguments object the same way the actual stack
86 // can. 87 // can.
87 class CustomArguments : public Relocatable { 88 class CustomArguments : public Relocatable {
(...skipping 29 matching lines...) Expand all
117 #define RUNTIME_FUNCTION(Type, Name) \ 118 #define RUNTIME_FUNCTION(Type, Name) \
118 Type Name(Arguments args, Isolate* isolate) 119 Type Name(Arguments args, Isolate* isolate)
119 120
120 121
121 #define RUNTIME_ARGUMENTS(isolate, args) args, isolate 122 #define RUNTIME_ARGUMENTS(isolate, args) args, isolate
122 123
123 124
124 } } // namespace v8::internal 125 } } // namespace v8::internal
125 126
126 #endif // V8_ARGUMENTS_H_ 127 #endif // V8_ARGUMENTS_H_
OLDNEW
« no previous file with comments | « src/accessors.cc ('k') | src/arm/lithium-gap-resolver-arm.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698