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

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

Issue 2843010: ARM: Load the heap number map into a register and keep it... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 years, 6 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/ic-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 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 361 matching lines...) Expand 10 before | Expand all | Expand 10 after
372 Register scratch1, 372 Register scratch1,
373 Register scratch2, 373 Register scratch2,
374 Label* gc_required); 374 Label* gc_required);
375 375
376 // Allocates a heap number or jumps to the gc_required label if the young 376 // Allocates a heap number or jumps to the gc_required label if the young
377 // space is full and a scavenge is needed. All registers are clobbered also 377 // space is full and a scavenge is needed. All registers are clobbered also
378 // when control continues at the gc_required label. 378 // when control continues at the gc_required label.
379 void AllocateHeapNumber(Register result, 379 void AllocateHeapNumber(Register result,
380 Register scratch1, 380 Register scratch1,
381 Register scratch2, 381 Register scratch2,
382 Register heap_number_map,
382 Label* gc_required); 383 Label* gc_required);
383 384
384 // --------------------------------------------------------------------------- 385 // ---------------------------------------------------------------------------
385 // Support functions. 386 // Support functions.
386 387
387 // Try to get function prototype of a function and puts the value in 388 // Try to get function prototype of a function and puts the value in
388 // the result register. Checks that the function really is a 389 // the result register. Checks that the function really is a
389 // function and jumps to the miss label if the fast checks fail. The 390 // function and jumps to the miss label if the fast checks fail. The
390 // function register will be untouched; the other registers may be 391 // function register will be untouched; the other registers may be
391 // clobbered. 392 // clobbered.
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
551 void DecrementCounter(StatsCounter* counter, int value, 552 void DecrementCounter(StatsCounter* counter, int value,
552 Register scratch1, Register scratch2); 553 Register scratch1, Register scratch2);
553 554
554 555
555 // --------------------------------------------------------------------------- 556 // ---------------------------------------------------------------------------
556 // Debugging 557 // Debugging
557 558
558 // Calls Abort(msg) if the condition cc is not satisfied. 559 // Calls Abort(msg) if the condition cc is not satisfied.
559 // Use --debug_code to enable. 560 // Use --debug_code to enable.
560 void Assert(Condition cc, const char* msg); 561 void Assert(Condition cc, const char* msg);
562 void AssertRegisterIsRoot(Register reg, Heap::RootListIndex index);
561 563
562 // Like Assert(), but always enabled. 564 // Like Assert(), but always enabled.
563 void Check(Condition cc, const char* msg); 565 void Check(Condition cc, const char* msg);
564 566
565 // Print a message to stdout and abort execution. 567 // Print a message to stdout and abort execution.
566 void Abort(const char* msg); 568 void Abort(const char* msg);
567 569
568 // Verify restrictions about code generated in stubs. 570 // Verify restrictions about code generated in stubs.
569 void set_generating_stub(bool value) { generating_stub_ = value; } 571 void set_generating_stub(bool value) { generating_stub_ = value; }
570 bool generating_stub() { return generating_stub_; } 572 bool generating_stub() { return generating_stub_; }
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
681 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 683 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
682 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 684 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
683 #else 685 #else
684 #define ACCESS_MASM(masm) masm-> 686 #define ACCESS_MASM(masm) masm->
685 #endif 687 #endif
686 688
687 689
688 } } // namespace v8::internal 690 } } // namespace v8::internal
689 691
690 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ 692 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_
OLDNEW
« no previous file with comments | « src/arm/ic-arm.cc ('k') | src/arm/macro-assembler-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698