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 350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
361 | 361 |
362 // Jump to a runtime routine. | 362 // Jump to a runtime routine. |
363 void JumpToRuntime(const ExternalReference& ext); | 363 void JumpToRuntime(const ExternalReference& ext); |
364 | 364 |
365 | 365 |
366 // --------------------------------------------------------------------------- | 366 // --------------------------------------------------------------------------- |
367 // Utilities | 367 // Utilities |
368 | 368 |
369 void Ret(); | 369 void Ret(); |
370 | 370 |
| 371 // Emit code to discard a non-negative number of pointer-sized elements |
| 372 // from the stack, clobbering only the esp register. |
371 void Drop(int element_count); | 373 void Drop(int element_count); |
372 | 374 |
373 void Call(Label* target) { call(target); } | 375 void Call(Label* target) { call(target); } |
374 | 376 |
375 void Move(Register target, Handle<Object> value); | 377 void Move(Register target, Handle<Object> value); |
376 | 378 |
377 struct Unresolved { | 379 struct Unresolved { |
378 int pc; | 380 int pc; |
379 uint32_t flags; // see Bootstrapper::FixupFlags decoders/encoders. | 381 uint32_t flags; // see Bootstrapper::FixupFlags decoders/encoders. |
380 const char* name; | 382 const char* name; |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
517 } \ | 519 } \ |
518 masm-> | 520 masm-> |
519 #else | 521 #else |
520 #define ACCESS_MASM(masm) masm-> | 522 #define ACCESS_MASM(masm) masm-> |
521 #endif | 523 #endif |
522 | 524 |
523 | 525 |
524 } } // namespace v8::internal | 526 } } // namespace v8::internal |
525 | 527 |
526 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ | 528 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ |
OLD | NEW |