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

Side by Side Diff: src/runtime.h

Issue 661366: Rewrite MakeDay function from JS to C++. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 10 years, 9 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
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 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 F(GetTemplateField, 2, 1) \ 194 F(GetTemplateField, 2, 1) \
195 F(DisableAccessChecks, 1, 1) \ 195 F(DisableAccessChecks, 1, 1) \
196 F(EnableAccessChecks, 1, 1) \ 196 F(EnableAccessChecks, 1, 1) \
197 \ 197 \
198 /* Dates */ \ 198 /* Dates */ \
199 F(DateCurrentTime, 0, 1) \ 199 F(DateCurrentTime, 0, 1) \
200 F(DateParseString, 2, 1) \ 200 F(DateParseString, 2, 1) \
201 F(DateLocalTimezone, 1, 1) \ 201 F(DateLocalTimezone, 1, 1) \
202 F(DateLocalTimeOffset, 0, 1) \ 202 F(DateLocalTimeOffset, 0, 1) \
203 F(DateDaylightSavingsOffset, 1, 1) \ 203 F(DateDaylightSavingsOffset, 1, 1) \
204 F(DateMakeDay, 3, 1) \
204 \ 205 \
205 /* Numbers */ \ 206 /* Numbers */ \
206 F(NumberIsFinite, 1, 1) \ 207 F(NumberIsFinite, 1, 1) \
207 \ 208 \
208 /* Globals */ \ 209 /* Globals */ \
209 F(CompileString, 2, 1) \ 210 F(CompileString, 2, 1) \
210 F(GlobalPrint, 1, 1) \ 211 F(GlobalPrint, 1, 1) \
211 \ 212 \
212 /* Eval */ \ 213 /* Eval */ \
213 F(GlobalReceiver, 1, 1) \ 214 F(GlobalReceiver, 1, 1) \
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
422 int position); 423 int position);
423 424
424 // Helper functions used stubs. 425 // Helper functions used stubs.
425 static void PerformGC(Object* result); 426 static void PerformGC(Object* result);
426 }; 427 };
427 428
428 429
429 } } // namespace v8::internal 430 } } // namespace v8::internal
430 431
431 #endif // V8_RUNTIME_H_ 432 #endif // V8_RUNTIME_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698