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 540 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
551 Register scratch1, | 551 Register scratch1, |
552 Register scratch2, | 552 Register scratch2, |
553 Register scratch3, | 553 Register scratch3, |
554 String* name, | 554 String* name, |
555 Label* miss); | 555 Label* miss); |
556 | 556 |
557 static void LookupPostInterceptor(JSObject* holder, | 557 static void LookupPostInterceptor(JSObject* holder, |
558 String* name, | 558 String* name, |
559 LookupResult* lookup); | 559 LookupResult* lookup); |
560 | 560 |
| 561 Isolate* isolate() { return scope_.isolate(); } |
| 562 |
561 private: | 563 private: |
562 HandleScope scope_; | 564 HandleScope scope_; |
563 MacroAssembler masm_; | 565 MacroAssembler masm_; |
564 Failure* failure_; | 566 Failure* failure_; |
565 }; | 567 }; |
566 | 568 |
567 | 569 |
568 class LoadStubCompiler: public StubCompiler { | 570 class LoadStubCompiler: public StubCompiler { |
569 public: | 571 public: |
570 MUST_USE_RESULT MaybeObject* CompileLoadNonexistent(String* name, | 572 MUST_USE_RESULT MaybeObject* CompileLoadNonexistent(String* name, |
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
841 MUST_USE_RESULT MaybeObject* CompileKeyedStoreStub( | 843 MUST_USE_RESULT MaybeObject* CompileKeyedStoreStub( |
842 JSObject* receiver, ExternalArrayType array_type, Code::Flags flags); | 844 JSObject* receiver, ExternalArrayType array_type, Code::Flags flags); |
843 | 845 |
844 private: | 846 private: |
845 MaybeObject* GetCode(Code::Flags flags); | 847 MaybeObject* GetCode(Code::Flags flags); |
846 }; | 848 }; |
847 | 849 |
848 } } // namespace v8::internal | 850 } } // namespace v8::internal |
849 | 851 |
850 #endif // V8_STUB_CACHE_H_ | 852 #endif // V8_STUB_CACHE_H_ |
OLD | NEW |