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

Side by Side Diff: src/ia32/macro-assembler-ia32.h

Issue 47533002: Use nearlabel AFAP in lithium codegen (Closed) Base URL: git://github.com/v8/v8.git@master
Patch Set: Created 7 years, 1 month 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 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 399 matching lines...) Expand 10 before | Expand all | Expand 10 after
410 // the FastDoubleElements array elements, otherwise jump to fail. 410 // the FastDoubleElements array elements, otherwise jump to fail.
411 void StoreNumberToDoubleElements(Register maybe_number, 411 void StoreNumberToDoubleElements(Register maybe_number,
412 Register elements, 412 Register elements,
413 Register key, 413 Register key,
414 Register scratch1, 414 Register scratch1,
415 XMMRegister scratch2, 415 XMMRegister scratch2,
416 Label* fail, 416 Label* fail,
417 bool specialize_for_processor, 417 bool specialize_for_processor,
418 int offset = 0); 418 int offset = 0);
419 419
420 // Compare an object's map with the specified map and its transitioned 420 // Compare an object's map with the specified map.
421 // elements maps if mode is ALLOW_ELEMENT_TRANSITION_MAPS. FLAGS are set with 421 void CompareMap(Register obj, Handle<Map> map);
422 // result of map compare. If multiple map compares are required, the compare
423 // sequences branches to early_success.
424 void CompareMap(Register obj,
425 Handle<Map> map,
426 Label* early_success);
427 422
428 // Check if the map of an object is equal to a specified map and branch to 423 // Check if the map of an object is equal to a specified map and branch to
429 // label if not. Skip the smi check if not required (object is known to be a 424 // label if not. Skip the smi check if not required (object is known to be a
430 // heap object). If mode is ALLOW_ELEMENT_TRANSITION_MAPS, then also match 425 // heap object). If mode is ALLOW_ELEMENT_TRANSITION_MAPS, then also match
431 // against maps that are ElementsKind transition maps of the specified map. 426 // against maps that are ElementsKind transition maps of the specified map.
432 void CheckMap(Register obj, 427 void CheckMap(Register obj,
433 Handle<Map> map, 428 Handle<Map> map,
434 Label* fail, 429 Label* fail,
435 SmiCheckType smi_check_type); 430 SmiCheckType smi_check_type);
436 431
(...skipping 677 matching lines...) Expand 10 before | Expand all | Expand 10 after
1114 } \ 1109 } \
1115 masm-> 1110 masm->
1116 #else 1111 #else
1117 #define ACCESS_MASM(masm) masm-> 1112 #define ACCESS_MASM(masm) masm->
1118 #endif 1113 #endif
1119 1114
1120 1115
1121 } } // namespace v8::internal 1116 } } // namespace v8::internal
1122 1117
1123 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ 1118 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698