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 303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
314 // eax (arg1, rax). The arguments are given as results which do not have | 314 // eax (arg1, rax). The arguments are given as results which do not have |
315 // to be in the proper registers or even in registers. The | 315 // to be in the proper registers or even in registers. The |
316 // arguments are consumed by the call. | 316 // arguments are consumed by the call. |
317 Result CallStub(CodeStub* stub, Result* arg0, Result* arg1); | 317 Result CallStub(CodeStub* stub, Result* arg0, Result* arg1); |
318 | 318 |
319 // Call runtime given the number of arguments expected on (and | 319 // Call runtime given the number of arguments expected on (and |
320 // removed from) the stack. | 320 // removed from) the stack. |
321 Result CallRuntime(Runtime::Function* f, int arg_count); | 321 Result CallRuntime(Runtime::Function* f, int arg_count); |
322 Result CallRuntime(Runtime::FunctionId id, int arg_count); | 322 Result CallRuntime(Runtime::FunctionId id, int arg_count); |
323 | 323 |
| 324 #ifdef ENABLE_DEBUGGER_SUPPORT |
| 325 void DebugBreak(); |
| 326 #endif |
| 327 |
324 // Invoke builtin given the number of arguments it expects on (and | 328 // Invoke builtin given the number of arguments it expects on (and |
325 // removes from) the stack. | 329 // removes from) the stack. |
326 Result InvokeBuiltin(Builtins::JavaScript id, | 330 Result InvokeBuiltin(Builtins::JavaScript id, |
327 InvokeFlag flag, | 331 InvokeFlag flag, |
328 int arg_count); | 332 int arg_count); |
329 | 333 |
330 // Call load IC. Name and receiver are found on top of the frame. | 334 // Call load IC. Name and receiver are found on top of the frame. |
331 // Receiver is not dropped. | 335 // Receiver is not dropped. |
332 Result CallLoadIC(RelocInfo::Mode mode); | 336 Result CallLoadIC(RelocInfo::Mode mode); |
333 | 337 |
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
551 | 555 |
552 // Classes that need raw access to the elements_ array. | 556 // Classes that need raw access to the elements_ array. |
553 friend class DeferredCode; | 557 friend class DeferredCode; |
554 friend class JumpTarget; | 558 friend class JumpTarget; |
555 }; | 559 }; |
556 | 560 |
557 | 561 |
558 } } // namespace v8::internal | 562 } } // namespace v8::internal |
559 | 563 |
560 #endif // V8_X64_VIRTUAL_FRAME_X64_H_ | 564 #endif // V8_X64_VIRTUAL_FRAME_X64_H_ |
OLD | NEW |