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

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

Issue 554001: Add conditional counter update to IA-32 (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 10 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 | « no previous file | 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 374 matching lines...) Expand 10 before | Expand all | Expand 10 after
385 385
386 Handle<Object> CodeObject() { return code_object_; } 386 Handle<Object> CodeObject() { return code_object_; }
387 387
388 388
389 // --------------------------------------------------------------------------- 389 // ---------------------------------------------------------------------------
390 // StatsCounter support 390 // StatsCounter support
391 391
392 void SetCounter(StatsCounter* counter, int value); 392 void SetCounter(StatsCounter* counter, int value);
393 void IncrementCounter(StatsCounter* counter, int value); 393 void IncrementCounter(StatsCounter* counter, int value);
394 void DecrementCounter(StatsCounter* counter, int value); 394 void DecrementCounter(StatsCounter* counter, int value);
395 void IncrementCounter(Condition cc, StatsCounter* counter, int value);
396 void DecrementCounter(Condition cc, StatsCounter* counter, int value);
395 397
396 398
397 // --------------------------------------------------------------------------- 399 // ---------------------------------------------------------------------------
398 // Debugging 400 // Debugging
399 401
400 // Calls Abort(msg) if the condition cc is not satisfied. 402 // Calls Abort(msg) if the condition cc is not satisfied.
401 // Use --debug_code to enable. 403 // Use --debug_code to enable.
402 void Assert(Condition cc, const char* msg); 404 void Assert(Condition cc, const char* msg);
403 405
404 // Like Assert(), but always enabled. 406 // Like Assert(), but always enabled.
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
519 } \ 521 } \
520 masm-> 522 masm->
521 #else 523 #else
522 #define ACCESS_MASM(masm) masm-> 524 #define ACCESS_MASM(masm) masm->
523 #endif 525 #endif
524 526
525 527
526 } } // namespace v8::internal 528 } } // namespace v8::internal
527 529
528 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ 530 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_
OLDNEW
« no previous file with comments | « no previous file | src/ia32/macro-assembler-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698