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 333 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
344 JSObject* object, | 344 JSObject* object, |
345 JSObject* holder, | 345 JSObject* holder, |
346 Register receiver, | 346 Register receiver, |
347 Register scratch1, | 347 Register scratch1, |
348 Register scratch2, | 348 Register scratch2, |
349 Object* value, | 349 Object* value, |
350 Label* miss_label); | 350 Label* miss_label); |
351 static void GenerateLoadInterceptor(MacroAssembler* masm, | 351 static void GenerateLoadInterceptor(MacroAssembler* masm, |
352 JSObject* object, | 352 JSObject* object, |
353 JSObject* holder, | 353 JSObject* holder, |
354 Register receiver, | |
355 Register name, | |
356 Register scratch1, | |
357 Register scratch2, | |
358 Label* miss_label); | |
359 // TODO(antonm): Remove a function above. | |
360 static void GenerateLoadInterceptor(MacroAssembler* masm, | |
361 JSObject* object, | |
362 JSObject* holder, | |
363 Smi* lookup_hint, | 354 Smi* lookup_hint, |
364 Register receiver, | 355 Register receiver, |
365 Register name, | 356 Register name, |
366 Register scratch1, | 357 Register scratch1, |
367 Register scratch2, | 358 Register scratch2, |
368 Label* miss_label); | 359 Label* miss_label); |
369 static void GenerateLoadArrayLength(MacroAssembler* masm, | 360 static void GenerateLoadArrayLength(MacroAssembler* masm, |
370 Register receiver, | 361 Register receiver, |
371 Register scratch, | 362 Register scratch, |
372 Label* miss_label); | 363 Label* miss_label); |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
507 | 498 |
508 const ParameterCount& arguments() { return arguments_; } | 499 const ParameterCount& arguments() { return arguments_; } |
509 | 500 |
510 Object* GetCode(PropertyType type, String* name); | 501 Object* GetCode(PropertyType type, String* name); |
511 }; | 502 }; |
512 | 503 |
513 | 504 |
514 } } // namespace v8::internal | 505 } } // namespace v8::internal |
515 | 506 |
516 #endif // V8_STUB_CACHE_H_ | 507 #endif // V8_STUB_CACHE_H_ |
OLD | NEW |