OLD | NEW |
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 370 matching lines...) Loading... |
381 | 381 |
382 // Check to see if maybe_number can be stored as a double in | 382 // Check to see if maybe_number can be stored as a double in |
383 // FastDoubleElements. If it can, store it at the index specified by key in | 383 // FastDoubleElements. If it can, store it at the index specified by key in |
384 // the FastDoubleElements array elements, otherwise jump to fail. | 384 // the FastDoubleElements array elements, otherwise jump to fail. |
385 void StoreNumberToDoubleElements(Register maybe_number, | 385 void StoreNumberToDoubleElements(Register maybe_number, |
386 Register elements, | 386 Register elements, |
387 Register key, | 387 Register key, |
388 Register scratch1, | 388 Register scratch1, |
389 XMMRegister scratch2, | 389 XMMRegister scratch2, |
390 Label* fail, | 390 Label* fail, |
391 bool specialize_for_processor); | 391 bool specialize_for_processor, |
| 392 int offset = 0); |
392 | 393 |
393 // Compare an object's map with the specified map and its transitioned | 394 // Compare an object's map with the specified map and its transitioned |
394 // elements maps if mode is ALLOW_ELEMENT_TRANSITION_MAPS. FLAGS are set with | 395 // elements maps if mode is ALLOW_ELEMENT_TRANSITION_MAPS. FLAGS are set with |
395 // result of map compare. If multiple map compares are required, the compare | 396 // result of map compare. If multiple map compares are required, the compare |
396 // sequences branches to early_success. | 397 // sequences branches to early_success. |
397 void CompareMap(Register obj, | 398 void CompareMap(Register obj, |
398 Handle<Map> map, | 399 Handle<Map> map, |
399 Label* early_success, | 400 Label* early_success, |
400 CompareMapMode mode = REQUIRE_EXACT_MAP); | 401 CompareMapMode mode = REQUIRE_EXACT_MAP); |
401 | 402 |
(...skipping 596 matching lines...) Loading... |
998 } \ | 999 } \ |
999 masm-> | 1000 masm-> |
1000 #else | 1001 #else |
1001 #define ACCESS_MASM(masm) masm-> | 1002 #define ACCESS_MASM(masm) masm-> |
1002 #endif | 1003 #endif |
1003 | 1004 |
1004 | 1005 |
1005 } } // namespace v8::internal | 1006 } } // namespace v8::internal |
1006 | 1007 |
1007 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ | 1008 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ |
OLD | NEW |