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

Side by Side Diff: src/runtime.h

Issue 10414023: Fix prepareElementsForSort crash bug=117879. This is a back (Closed) Base URL: http://v8.googlecode.com/svn/branches/3.10/
Patch Set: Created 8 years, 7 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/mips/full-codegen-mips.cc ('k') | src/runtime.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 // 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 253 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 F(SetProperty, -1 /* 4 or 5 */, 1) \ 264 F(SetProperty, -1 /* 4 or 5 */, 1) \
265 F(DefineOrRedefineDataProperty, 4, 1) \ 265 F(DefineOrRedefineDataProperty, 4, 1) \
266 F(DefineOrRedefineAccessorProperty, 5, 1) \ 266 F(DefineOrRedefineAccessorProperty, 5, 1) \
267 F(IgnoreAttributesAndSetProperty, -1 /* 3 or 4 */, 1) \ 267 F(IgnoreAttributesAndSetProperty, -1 /* 3 or 4 */, 1) \
268 \ 268 \
269 /* Arrays */ \ 269 /* Arrays */ \
270 F(RemoveArrayHoles, 2, 1) \ 270 F(RemoveArrayHoles, 2, 1) \
271 F(GetArrayKeys, 2, 1) \ 271 F(GetArrayKeys, 2, 1) \
272 F(MoveArrayContents, 2, 1) \ 272 F(MoveArrayContents, 2, 1) \
273 F(EstimateNumberOfElements, 1, 1) \ 273 F(EstimateNumberOfElements, 1, 1) \
274 F(SwapElements, 3, 1) \
275 \ 274 \
276 /* Getters and Setters */ \ 275 /* Getters and Setters */ \
277 F(LookupAccessor, 3, 1) \ 276 F(LookupAccessor, 3, 1) \
278 \ 277 \
279 /* Literals */ \ 278 /* Literals */ \
280 F(MaterializeRegExpLiteral, 4, 1)\ 279 F(MaterializeRegExpLiteral, 4, 1)\
281 F(CreateObjectLiteral, 4, 1) \ 280 F(CreateObjectLiteral, 4, 1) \
282 F(CreateObjectLiteralShallow, 4, 1) \ 281 F(CreateObjectLiteralShallow, 4, 1) \
283 F(CreateArrayLiteral, 3, 1) \ 282 F(CreateArrayLiteral, 3, 1) \
284 F(CreateArrayLiteralShallow, 3, 1) \ 283 F(CreateArrayLiteralShallow, 3, 1) \
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
528 #define INLINE_RUNTIME_FUNCTION_LIST(F) \ 527 #define INLINE_RUNTIME_FUNCTION_LIST(F) \
529 F(ClassOf, 1, 1) \ 528 F(ClassOf, 1, 1) \
530 F(StringCharCodeAt, 2, 1) \ 529 F(StringCharCodeAt, 2, 1) \
531 F(Log, 3, 1) \ 530 F(Log, 3, 1) \
532 F(StringAdd, 2, 1) \ 531 F(StringAdd, 2, 1) \
533 F(SubString, 3, 1) \ 532 F(SubString, 3, 1) \
534 F(StringCompare, 2, 1) \ 533 F(StringCompare, 2, 1) \
535 F(RegExpExec, 4, 1) \ 534 F(RegExpExec, 4, 1) \
536 F(RegExpConstructResult, 3, 1) \ 535 F(RegExpConstructResult, 3, 1) \
537 F(GetFromCache, 2, 1) \ 536 F(GetFromCache, 2, 1) \
538 F(NumberToString, 1, 1) \ 537 F(NumberToString, 1, 1)
539 F(SwapElements, 3, 1)
540 538
541 539
542 //--------------------------------------------------------------------------- 540 //---------------------------------------------------------------------------
543 // Runtime provides access to all C++ runtime functions. 541 // Runtime provides access to all C++ runtime functions.
544 542
545 class RuntimeState { 543 class RuntimeState {
546 public: 544 public:
547 StaticResource<StringInputBuffer>* string_input_buffer() { 545 StaticResource<StringInputBuffer>* string_input_buffer() {
548 return &string_input_buffer_; 546 return &string_input_buffer_;
549 } 547 }
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
703 //--------------------------------------------------------------------------- 701 //---------------------------------------------------------------------------
704 // Constants used by interface to runtime functions. 702 // Constants used by interface to runtime functions.
705 703
706 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; 704 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {};
707 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; 705 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {};
708 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; 706 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {};
709 707
710 } } // namespace v8::internal 708 } } // namespace v8::internal
711 709
712 #endif // V8_RUNTIME_H_ 710 #endif // V8_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/mips/full-codegen-mips.cc ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698