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

Side by Side Diff: src/runtime.h

Issue 92123: Fix Issue 326. Handle sorting of non-array objects correctly. (Closed)
Patch Set: Simplified fixed-array collation loop. Added more tests for dictionary. Created 11 years, 8 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
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 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 F(GlobalPrint, 1) \ 198 F(GlobalPrint, 1) \
199 \ 199 \
200 /* Eval */ \ 200 /* Eval */ \
201 F(GlobalReceiver, 1) \ 201 F(GlobalReceiver, 1) \
202 F(ResolvePossiblyDirectEval, 2) \ 202 F(ResolvePossiblyDirectEval, 2) \
203 \ 203 \
204 F(SetProperty, -1 /* 3 or 4 */) \ 204 F(SetProperty, -1 /* 3 or 4 */) \
205 F(IgnoreAttributesAndSetProperty, -1 /* 3 or 4 */) \ 205 F(IgnoreAttributesAndSetProperty, -1 /* 3 or 4 */) \
206 \ 206 \
207 /* Arrays */ \ 207 /* Arrays */ \
208 F(RemoveArrayHoles, 1) \ 208 F(RemoveArrayHoles, 2) \
209 F(GetArrayKeys, 2) \ 209 F(GetArrayKeys, 2) \
210 F(MoveArrayContents, 2) \ 210 F(MoveArrayContents, 2) \
211 F(EstimateNumberOfElements, 1) \ 211 F(EstimateNumberOfElements, 1) \
212 \ 212 \
213 /* Getters and Setters */ \ 213 /* Getters and Setters */ \
214 F(DefineAccessor, -1 /* 4 or 5 */) \ 214 F(DefineAccessor, -1 /* 4 or 5 */) \
215 F(LookupAccessor, 3) \ 215 F(LookupAccessor, 3) \
216 \ 216 \
217 /* Literals */ \ 217 /* Literals */ \
218 F(MaterializeRegExpLiteral, 4)\ 218 F(MaterializeRegExpLiteral, 4)\
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
385 int position); 385 int position);
386 386
387 // Helper functions used stubs. 387 // Helper functions used stubs.
388 static void PerformGC(Object* result); 388 static void PerformGC(Object* result);
389 }; 389 };
390 390
391 391
392 } } // namespace v8::internal 392 } } // namespace v8::internal
393 393
394 #endif // V8_RUNTIME_H_ 394 #endif // V8_RUNTIME_H_
OLDNEW
« src/objects.cc ('K') | « src/objects.cc ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698