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

Side by Side Diff: src/arm/code-stubs-arm.h

Issue 7322012: Fix compilation on ARM and x64. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/gc
Patch Set: Created 9 years, 5 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
OLDNEW
1 // Copyright 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 442 matching lines...) Expand 10 before | Expand all | Expand 10 after
453 : object_(object), 453 : object_(object),
454 value_(value), 454 value_(value),
455 address_(address), 455 address_(address),
456 remembered_set_action_(remembered_set_action), 456 remembered_set_action_(remembered_set_action),
457 save_fp_regs_mode_(fp_mode), 457 save_fp_regs_mode_(fp_mode),
458 regs_(object, // An input reg. 458 regs_(object, // An input reg.
459 address, // An input reg. 459 address, // An input reg.
460 value) { // One scratch reg. 460 value) { // One scratch reg.
461 } 461 }
462 462
463 static void Patch(Code* stub, bool enable) { 463 enum Mode {
464 ASSERT(!enable); 464 STORE_BUFFER_ONLY,
465 INCREMENTAL,
466 INCREMENTAL_COMPACTION
467 };
468
469 static void Patch(Code* stub, Mode mode) {
470 ASSERT(mode == STORE_BUFFER_ONLY);
465 } 471 }
466 472
467 private: 473 private:
468 // This is a helper class for freeing up 3 scratch registers. The input is 474 // This is a helper class for freeing up 3 scratch registers. The input is
469 // two registers that must be preserved and one scratch register provided by 475 // two registers that must be preserved and one scratch register provided by
470 // the caller. 476 // the caller.
471 class RegisterAllocation { 477 class RegisterAllocation {
472 public: 478 public:
473 RegisterAllocation(Register object, 479 RegisterAllocation(Register object,
474 Register address, 480 Register address,
(...skipping 332 matching lines...) Expand 10 before | Expand all | Expand 10 after
807 813
808 class LookupModeBits: public BitField<LookupMode, 0, 1> {}; 814 class LookupModeBits: public BitField<LookupMode, 0, 1> {};
809 815
810 LookupMode mode_; 816 LookupMode mode_;
811 }; 817 };
812 818
813 819
814 } } // namespace v8::internal 820 } } // namespace v8::internal
815 821
816 #endif // V8_ARM_CODE_STUBS_ARM_H_ 822 #endif // V8_ARM_CODE_STUBS_ARM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698