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 417 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
428 void GenerateLoadInterceptor(JSObject* object, | 428 void GenerateLoadInterceptor(JSObject* object, |
429 JSObject* holder, | 429 JSObject* holder, |
430 LookupResult* lookup, | 430 LookupResult* lookup, |
431 Register receiver, | 431 Register receiver, |
432 Register name_reg, | 432 Register name_reg, |
433 Register scratch1, | 433 Register scratch1, |
434 Register scratch2, | 434 Register scratch2, |
435 String* name, | 435 String* name, |
436 Label* miss); | 436 Label* miss); |
437 | 437 |
| 438 static void LookupPostInterceptor(JSObject* holder, |
| 439 String* name, |
| 440 LookupResult* lookup); |
| 441 |
438 private: | 442 private: |
439 HandleScope scope_; | 443 HandleScope scope_; |
440 MacroAssembler masm_; | 444 MacroAssembler masm_; |
441 Failure* failure_; | 445 Failure* failure_; |
442 }; | 446 }; |
443 | 447 |
444 | 448 |
445 class LoadStubCompiler: public StubCompiler { | 449 class LoadStubCompiler: public StubCompiler { |
446 public: | 450 public: |
447 Object* CompileLoadField(JSObject* object, | 451 Object* CompileLoadField(JSObject* object, |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
569 Object* CompileConstructStub(SharedFunctionInfo* shared); | 573 Object* CompileConstructStub(SharedFunctionInfo* shared); |
570 | 574 |
571 private: | 575 private: |
572 Object* GetCode(); | 576 Object* GetCode(); |
573 }; | 577 }; |
574 | 578 |
575 | 579 |
576 } } // namespace v8::internal | 580 } } // namespace v8::internal |
577 | 581 |
578 #endif // V8_STUB_CACHE_H_ | 582 #endif // V8_STUB_CACHE_H_ |
OLD | NEW |