| 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 310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 321 // to be in the proper registers or even in registers. The | 321 // to be in the proper registers or even in registers. The |
| 322 // arguments are consumed by the call. | 322 // arguments are consumed by the call. |
| 323 Result CallStub(CodeStub* stub, Result* arg0, Result* arg1); | 323 Result CallStub(CodeStub* stub, Result* arg0, Result* arg1); |
| 324 | 324 |
| 325 // Call JS function from top of the stack with arguments | 325 // Call JS function from top of the stack with arguments |
| 326 // taken from the stack. | 326 // taken from the stack. |
| 327 Result CallJSFunction(int arg_count); | 327 Result CallJSFunction(int arg_count); |
| 328 | 328 |
| 329 // Call runtime given the number of arguments expected on (and | 329 // Call runtime given the number of arguments expected on (and |
| 330 // removed from) the stack. | 330 // removed from) the stack. |
| 331 Result CallRuntime(Runtime::Function* f, int arg_count); | 331 Result CallRuntime(const Runtime::Function* f, int arg_count); |
| 332 Result CallRuntime(Runtime::FunctionId id, int arg_count); | 332 Result CallRuntime(Runtime::FunctionId id, int arg_count); |
| 333 | 333 |
| 334 #ifdef ENABLE_DEBUGGER_SUPPORT | 334 #ifdef ENABLE_DEBUGGER_SUPPORT |
| 335 void DebugBreak(); | 335 void DebugBreak(); |
| 336 #endif | 336 #endif |
| 337 | 337 |
| 338 // Invoke builtin given the number of arguments it expects on (and | 338 // Invoke builtin given the number of arguments it expects on (and |
| 339 // removes from) the stack. | 339 // removes from) the stack. |
| 340 Result InvokeBuiltin(Builtins::JavaScript id, InvokeFlag flag, int arg_count); | 340 Result InvokeBuiltin(Builtins::JavaScript id, InvokeFlag flag, int arg_count); |
| 341 | 341 |
| (...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 618 inline bool Equals(VirtualFrame* other); | 618 inline bool Equals(VirtualFrame* other); |
| 619 | 619 |
| 620 // Classes that need raw access to the elements_ array. | 620 // Classes that need raw access to the elements_ array. |
| 621 friend class FrameRegisterState; | 621 friend class FrameRegisterState; |
| 622 friend class JumpTarget; | 622 friend class JumpTarget; |
| 623 }; | 623 }; |
| 624 | 624 |
| 625 } } // namespace v8::internal | 625 } } // namespace v8::internal |
| 626 | 626 |
| 627 #endif // V8_IA32_VIRTUAL_FRAME_IA32_H_ | 627 #endif // V8_IA32_VIRTUAL_FRAME_IA32_H_ |
| OLD | NEW |