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 412 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
423 void JumpIfNotBothSequentialAsciiStrings(Register object1, | 423 void JumpIfNotBothSequentialAsciiStrings(Register object1, |
424 Register object2, | 424 Register object2, |
425 Register scratch1, | 425 Register scratch1, |
426 Register scratch2, | 426 Register scratch2, |
427 Label *on_not_flat_ascii_strings); | 427 Label *on_not_flat_ascii_strings); |
428 | 428 |
429 private: | 429 private: |
430 List<Unresolved> unresolved_; | 430 List<Unresolved> unresolved_; |
431 bool generating_stub_; | 431 bool generating_stub_; |
432 bool allow_stub_calls_; | 432 bool allow_stub_calls_; |
433 Handle<Object> code_object_; // This handle will be patched with the | 433 // This handle will be patched with the code object on installation. |
434 // code object on installation. | 434 Handle<Object> code_object_; |
435 | 435 |
436 // Helper functions for generating invokes. | 436 // Helper functions for generating invokes. |
437 void InvokePrologue(const ParameterCount& expected, | 437 void InvokePrologue(const ParameterCount& expected, |
438 const ParameterCount& actual, | 438 const ParameterCount& actual, |
439 Handle<Code> code_constant, | 439 Handle<Code> code_constant, |
440 const Operand& code_operand, | 440 const Operand& code_operand, |
441 Label* done, | 441 Label* done, |
442 InvokeFlag flag); | 442 InvokeFlag flag); |
443 | 443 |
444 // Prepares for a call or jump to a builtin by doing two things: | 444 // Prepares for a call or jump to a builtin by doing two things: |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
532 } \ | 532 } \ |
533 masm-> | 533 masm-> |
534 #else | 534 #else |
535 #define ACCESS_MASM(masm) masm-> | 535 #define ACCESS_MASM(masm) masm-> |
536 #endif | 536 #endif |
537 | 537 |
538 | 538 |
539 } } // namespace v8::internal | 539 } } // namespace v8::internal |
540 | 540 |
541 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ | 541 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ |
OLD | NEW |