OLD | NEW |
1 // Copyright 2009 the V8 project authors. All rights reserved. | 1 // Copyright 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 306 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
317 // eax (arg1). The arguments are given as results which do not have | 317 // eax (arg1). The arguments are given as results which do not have |
318 // to be in the proper registers or even in registers. The | 318 // to be in the proper registers or even in registers. The |
319 // arguments are consumed by the call. | 319 // arguments are consumed by the call. |
320 Result CallStub(CodeStub* stub, Result* arg0, Result* arg1); | 320 Result CallStub(CodeStub* stub, Result* arg0, Result* arg1); |
321 | 321 |
322 // Call runtime given the number of arguments expected on (and | 322 // Call runtime given the number of arguments expected on (and |
323 // removed from) the stack. | 323 // removed from) the stack. |
324 Result CallRuntime(Runtime::Function* f, int arg_count); | 324 Result CallRuntime(Runtime::Function* f, int arg_count); |
325 Result CallRuntime(Runtime::FunctionId id, int arg_count); | 325 Result CallRuntime(Runtime::FunctionId id, int arg_count); |
326 | 326 |
| 327 #ifdef ENABLE_DEBUGGER_SUPPORT |
| 328 void DebugBreak(); |
| 329 #endif |
| 330 |
327 // Invoke builtin given the number of arguments it expects on (and | 331 // Invoke builtin given the number of arguments it expects on (and |
328 // removes from) the stack. | 332 // removes from) the stack. |
329 Result InvokeBuiltin(Builtins::JavaScript id, InvokeFlag flag, int arg_count); | 333 Result InvokeBuiltin(Builtins::JavaScript id, InvokeFlag flag, int arg_count); |
330 | 334 |
331 // Call load IC. Name and receiver are found on top of the frame. | 335 // Call load IC. Name and receiver are found on top of the frame. |
332 // Receiver is not dropped. | 336 // Receiver is not dropped. |
333 Result CallLoadIC(RelocInfo::Mode mode); | 337 Result CallLoadIC(RelocInfo::Mode mode); |
334 | 338 |
335 // Call keyed load IC. Key and receiver are found on top of the | 339 // Call keyed load IC. Key and receiver are found on top of the |
336 // frame. They are not dropped. | 340 // frame. They are not dropped. |
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
571 bool Equals(VirtualFrame* other); | 575 bool Equals(VirtualFrame* other); |
572 | 576 |
573 // Classes that need raw access to the elements_ array. | 577 // Classes that need raw access to the elements_ array. |
574 friend class DeferredCode; | 578 friend class DeferredCode; |
575 friend class JumpTarget; | 579 friend class JumpTarget; |
576 }; | 580 }; |
577 | 581 |
578 } } // namespace v8::internal | 582 } } // namespace v8::internal |
579 | 583 |
580 #endif // V8_IA32_VIRTUAL_FRAME_IA32_H_ | 584 #endif // V8_IA32_VIRTUAL_FRAME_IA32_H_ |
OLD | NEW |