OLD | NEW |
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2008 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 283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
294 Object* CompileCallMegamorphic(Code::Flags flags); | 294 Object* CompileCallMegamorphic(Code::Flags flags); |
295 Object* CompileCallMiss(Code::Flags flags); | 295 Object* CompileCallMiss(Code::Flags flags); |
296 Object* CompileCallDebugBreak(Code::Flags flags); | 296 Object* CompileCallDebugBreak(Code::Flags flags); |
297 Object* CompileCallDebugPrepareStepIn(Code::Flags flags); | 297 Object* CompileCallDebugPrepareStepIn(Code::Flags flags); |
298 Object* CompileLazyCompile(Code::Flags flags); | 298 Object* CompileLazyCompile(Code::Flags flags); |
299 | 299 |
300 // Static functions for generating parts of stubs. | 300 // Static functions for generating parts of stubs. |
301 static void GenerateLoadGlobalFunctionPrototype(MacroAssembler* masm, | 301 static void GenerateLoadGlobalFunctionPrototype(MacroAssembler* masm, |
302 int index, | 302 int index, |
303 Register prototype); | 303 Register prototype); |
| 304 static void GenerateFastPropertyLoad(MacroAssembler* masm, |
| 305 Register dst, Register src, |
| 306 JSObject* holder, int index); |
304 static void GenerateLoadField(MacroAssembler* masm, | 307 static void GenerateLoadField(MacroAssembler* masm, |
305 JSObject* object, | 308 JSObject* object, |
306 JSObject* holder, | 309 JSObject* holder, |
307 Register receiver, | 310 Register receiver, |
308 Register scratch1, | 311 Register scratch1, |
309 Register scratch2, | 312 Register scratch2, |
310 int index, | 313 int index, |
311 Label* miss_label); | 314 Label* miss_label); |
312 static void GenerateLoadCallback(MacroAssembler* masm, | 315 static void GenerateLoadCallback(MacroAssembler* masm, |
313 JSObject* object, | 316 JSObject* object, |
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
468 | 471 |
469 const ParameterCount& arguments() { return arguments_; } | 472 const ParameterCount& arguments() { return arguments_; } |
470 | 473 |
471 Object* GetCode(PropertyType type); | 474 Object* GetCode(PropertyType type); |
472 }; | 475 }; |
473 | 476 |
474 | 477 |
475 } } // namespace v8::internal | 478 } } // namespace v8::internal |
476 | 479 |
477 #endif // V8_STUB_CACHE_H_ | 480 #endif // V8_STUB_CACHE_H_ |
OLD | NEW |