| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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_ |
| OLD | NEW |