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

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

Issue 9231009: More spelling changes. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 8 years, 11 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/ia32/full-codegen-ia32.cc ('k') | src/ia32/macro-assembler-ia32.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 350 matching lines...) Expand 10 before | Expand all | Expand 10 after
361 // result of map compare. If multiple map compares are required, the compare 361 // result of map compare. If multiple map compares are required, the compare
362 // sequences branches to early_success. 362 // sequences branches to early_success.
363 void CompareMap(Register obj, 363 void CompareMap(Register obj,
364 Handle<Map> map, 364 Handle<Map> map,
365 Label* early_success, 365 Label* early_success,
366 CompareMapMode mode = REQUIRE_EXACT_MAP); 366 CompareMapMode mode = REQUIRE_EXACT_MAP);
367 367
368 // Check if the map of an object is equal to a specified map and branch to 368 // Check if the map of an object is equal to a specified map and branch to
369 // label if not. Skip the smi check if not required (object is known to be a 369 // label if not. Skip the smi check if not required (object is known to be a
370 // heap object). If mode is ALLOW_ELEMENT_TRANSITION_MAPS, then also match 370 // heap object). If mode is ALLOW_ELEMENT_TRANSITION_MAPS, then also match
371 // against maps that are ElementsKind transition maps of the specificed map. 371 // against maps that are ElementsKind transition maps of the specified map.
372 void CheckMap(Register obj, 372 void CheckMap(Register obj,
373 Handle<Map> map, 373 Handle<Map> map,
374 Label* fail, 374 Label* fail,
375 SmiCheckType smi_check_type, 375 SmiCheckType smi_check_type,
376 CompareMapMode mode = REQUIRE_EXACT_MAP); 376 CompareMapMode mode = REQUIRE_EXACT_MAP);
377 377
378 // Check if the map of an object is equal to a specified map and branch to a 378 // Check if the map of an object is equal to a specified map and branch to a
379 // specified target if equal. Skip the smi check if not required (object is 379 // specified target if equal. Skip the smi check if not required (object is
380 // known to be a heap object) 380 // known to be a heap object)
381 void DispatchMap(Register obj, 381 void DispatchMap(Register obj,
(...skipping 402 matching lines...) Expand 10 before | Expand all | Expand 10 after
784 bool generating_stub() { return generating_stub_; } 784 bool generating_stub() { return generating_stub_; }
785 void set_allow_stub_calls(bool value) { allow_stub_calls_ = value; } 785 void set_allow_stub_calls(bool value) { allow_stub_calls_ = value; }
786 bool allow_stub_calls() { return allow_stub_calls_; } 786 bool allow_stub_calls() { return allow_stub_calls_; }
787 void set_has_frame(bool value) { has_frame_ = value; } 787 void set_has_frame(bool value) { has_frame_ = value; }
788 bool has_frame() { return has_frame_; } 788 bool has_frame() { return has_frame_; }
789 inline bool AllowThisStubCall(CodeStub* stub); 789 inline bool AllowThisStubCall(CodeStub* stub);
790 790
791 // --------------------------------------------------------------------------- 791 // ---------------------------------------------------------------------------
792 // String utilities. 792 // String utilities.
793 793
794 // Check whether the instance type represents a flat ascii string. Jump to the 794 // Check whether the instance type represents a flat ASCII string. Jump to the
795 // label if not. If the instance type can be scratched specify same register 795 // label if not. If the instance type can be scratched specify same register
796 // for both instance type and scratch. 796 // for both instance type and scratch.
797 void JumpIfInstanceTypeIsNotSequentialAscii(Register instance_type, 797 void JumpIfInstanceTypeIsNotSequentialAscii(Register instance_type,
798 Register scratch, 798 Register scratch,
799 Label* on_not_flat_ascii_string); 799 Label* on_not_flat_ascii_string);
800 800
801 // Checks if both objects are sequential ASCII strings, and jumps to label 801 // Checks if both objects are sequential ASCII strings, and jumps to label
802 // if either is not. 802 // if either is not.
803 void JumpIfNotBothSequentialAsciiStrings(Register object1, 803 void JumpIfNotBothSequentialAsciiStrings(Register object1,
804 Register object2, 804 Register object2,
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
949 } \ 949 } \
950 masm-> 950 masm->
951 #else 951 #else
952 #define ACCESS_MASM(masm) masm-> 952 #define ACCESS_MASM(masm) masm->
953 #endif 953 #endif
954 954
955 955
956 } } // namespace v8::internal 956 } } // namespace v8::internal
957 957
958 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ 958 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_
OLDNEW
« no previous file with comments | « src/ia32/full-codegen-ia32.cc ('k') | src/ia32/macro-assembler-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698