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

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

Issue 10442015: Rollback of r11638, r11636 on trunk branch. (Closed) Base URL: https://v8.googlecode.com/svn/trunk
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/arm/lithium-codegen-arm.cc ('k') | src/arm/macro-assembler-arm.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 494 matching lines...) Expand 10 before | Expand all | Expand 10 after
505 void LoadTransitionedArrayMapConditional( 505 void LoadTransitionedArrayMapConditional(
506 ElementsKind expected_kind, 506 ElementsKind expected_kind,
507 ElementsKind transitioned_kind, 507 ElementsKind transitioned_kind,
508 Register map_in_out, 508 Register map_in_out,
509 Register scratch, 509 Register scratch,
510 Label* no_map_match); 510 Label* no_map_match);
511 511
512 // Load the initial map for new Arrays from a JSFunction. 512 // Load the initial map for new Arrays from a JSFunction.
513 void LoadInitialArrayMap(Register function_in, 513 void LoadInitialArrayMap(Register function_in,
514 Register scratch, 514 Register scratch,
515 Register map_out, 515 Register map_out);
516 bool can_have_holes);
517 516
518 void LoadGlobalFunction(int index, Register function); 517 void LoadGlobalFunction(int index, Register function);
519 518
520 // Load the initial map from the global function. The registers 519 // Load the initial map from the global function. The registers
521 // function and map can be the same, function is then overwritten. 520 // function and map can be the same, function is then overwritten.
522 void LoadGlobalFunctionInitialMap(Register function, 521 void LoadGlobalFunctionInitialMap(Register function,
523 Register map, 522 Register map,
524 Register scratch); 523 Register scratch);
525 524
526 void InitializeRootRegister() { 525 void InitializeRootRegister() {
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after
796 Label* fail); 795 Label* fail);
797 796
798 // Check if a map for a JSObject indicates that the object can have both smi 797 // Check if a map for a JSObject indicates that the object can have both smi
799 // and HeapObject elements. Jump to the specified label if it does not. 798 // and HeapObject elements. Jump to the specified label if it does not.
800 void CheckFastObjectElements(Register map, 799 void CheckFastObjectElements(Register map,
801 Register scratch, 800 Register scratch,
802 Label* fail); 801 Label* fail);
803 802
804 // Check if a map for a JSObject indicates that the object has fast smi only 803 // Check if a map for a JSObject indicates that the object has fast smi only
805 // elements. Jump to the specified label if it does not. 804 // elements. Jump to the specified label if it does not.
806 void CheckFastSmiElements(Register map, 805 void CheckFastSmiOnlyElements(Register map,
807 Register scratch, 806 Register scratch,
808 Label* fail); 807 Label* fail);
809 808
810 // Check to see if maybe_number can be stored as a double in 809 // Check to see if maybe_number can be stored as a double in
811 // FastDoubleElements. If it can, store it at the index specified by key in 810 // FastDoubleElements. If it can, store it at the index specified by key in
812 // the FastDoubleElements array elements. Otherwise jump to fail, in which 811 // the FastDoubleElements array elements. Otherwise jump to fail, in which
813 // case scratch2, scratch3 and scratch4 are unmodified. 812 // case scratch2, scratch3 and scratch4 are unmodified.
814 void StoreNumberToDoubleElements(Register value_reg, 813 void StoreNumberToDoubleElements(Register value_reg,
815 Register key_reg, 814 Register key_reg,
816 Register receiver_reg, 815 Register receiver_reg,
817 Register elements_reg, 816 Register elements_reg,
818 Register scratch1, 817 Register scratch1,
(...skipping 560 matching lines...) Expand 10 before | Expand all | Expand 10 after
1379 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 1378 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1380 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1379 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1381 #else 1380 #else
1382 #define ACCESS_MASM(masm) masm-> 1381 #define ACCESS_MASM(masm) masm->
1383 #endif 1382 #endif
1384 1383
1385 1384
1386 } } // namespace v8::internal 1385 } } // namespace v8::internal
1387 1386
1388 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ 1387 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_
OLDNEW
« no previous file with comments | « src/arm/lithium-codegen-arm.cc ('k') | src/arm/macro-assembler-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698