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

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

Issue 1000007: Fix formatting around * and &. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 10 years, 9 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/codegen-ia32.h ('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 2006-2009 the V8 project authors. All rights reserved. 1 // Copyright 2006-2009 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 458 matching lines...) Expand 10 before | Expand all | Expand 10 after
469 bool allow_stub_calls() { return allow_stub_calls_; } 469 bool allow_stub_calls() { return allow_stub_calls_; }
470 470
471 // --------------------------------------------------------------------------- 471 // ---------------------------------------------------------------------------
472 // String utilities. 472 // String utilities.
473 473
474 // Check whether the instance type represents a flat ascii string. Jump to the 474 // Check whether the instance type represents a flat ascii string. Jump to the
475 // label if not. If the instance type can be scratched specify same register 475 // label if not. If the instance type can be scratched specify same register
476 // for both instance type and scratch. 476 // for both instance type and scratch.
477 void JumpIfInstanceTypeIsNotSequentialAscii(Register instance_type, 477 void JumpIfInstanceTypeIsNotSequentialAscii(Register instance_type,
478 Register scratch, 478 Register scratch,
479 Label *on_not_flat_ascii_string); 479 Label* on_not_flat_ascii_string);
480 480
481 // Checks if both objects are sequential ASCII strings, and jumps to label 481 // Checks if both objects are sequential ASCII strings, and jumps to label
482 // if either is not. 482 // if either is not.
483 void JumpIfNotBothSequentialAsciiStrings(Register object1, 483 void JumpIfNotBothSequentialAsciiStrings(Register object1,
484 Register object2, 484 Register object2,
485 Register scratch1, 485 Register scratch1,
486 Register scratch2, 486 Register scratch2,
487 Label *on_not_flat_ascii_strings); 487 Label* on_not_flat_ascii_strings);
488 488
489 private: 489 private:
490 bool generating_stub_; 490 bool generating_stub_;
491 bool allow_stub_calls_; 491 bool allow_stub_calls_;
492 // This handle will be patched with the code object on installation. 492 // This handle will be patched with the code object on installation.
493 Handle<Object> code_object_; 493 Handle<Object> code_object_;
494 494
495 // Helper functions for generating invokes. 495 // Helper functions for generating invokes.
496 void InvokePrologue(const ParameterCount& expected, 496 void InvokePrologue(const ParameterCount& expected,
497 const ParameterCount& actual, 497 const ParameterCount& actual,
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
579 } \ 579 } \
580 masm-> 580 masm->
581 #else 581 #else
582 #define ACCESS_MASM(masm) masm-> 582 #define ACCESS_MASM(masm) masm->
583 #endif 583 #endif
584 584
585 585
586 } } // namespace v8::internal 586 } } // namespace v8::internal
587 587
588 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ 588 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_
OLDNEW
« no previous file with comments | « src/ia32/codegen-ia32.h ('k') | src/ia32/macro-assembler-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698