| 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 387 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 398 | 398 |
| 399 void GenerateLoadField(JSObject* object, | 399 void GenerateLoadField(JSObject* object, |
| 400 JSObject* holder, | 400 JSObject* holder, |
| 401 Register receiver, | 401 Register receiver, |
| 402 Register scratch1, | 402 Register scratch1, |
| 403 Register scratch2, | 403 Register scratch2, |
| 404 int index, | 404 int index, |
| 405 String* name, | 405 String* name, |
| 406 Label* miss); | 406 Label* miss); |
| 407 | 407 |
| 408 void GenerateLoadCallback(JSObject* object, | 408 bool GenerateLoadCallback(JSObject* object, |
| 409 JSObject* holder, | 409 JSObject* holder, |
| 410 Register receiver, | 410 Register receiver, |
| 411 Register name_reg, | 411 Register name_reg, |
| 412 Register scratch1, | 412 Register scratch1, |
| 413 Register scratch2, | 413 Register scratch2, |
| 414 AccessorInfo* callback, | 414 AccessorInfo* callback, |
| 415 String* name, | 415 String* name, |
| 416 Label* miss); | 416 Label* miss, |
| 417 Failure** failure); |
| 417 | 418 |
| 418 void GenerateLoadConstant(JSObject* object, | 419 void GenerateLoadConstant(JSObject* object, |
| 419 JSObject* holder, | 420 JSObject* holder, |
| 420 Register receiver, | 421 Register receiver, |
| 421 Register scratch1, | 422 Register scratch1, |
| 422 Register scratch2, | 423 Register scratch2, |
| 423 Object* value, | 424 Object* value, |
| 424 String* name, | 425 String* name, |
| 425 Label* miss); | 426 Label* miss); |
| 426 | 427 |
| (...skipping 13 matching lines...) Expand all Loading... |
| 440 Failure* failure_; | 441 Failure* failure_; |
| 441 }; | 442 }; |
| 442 | 443 |
| 443 | 444 |
| 444 class LoadStubCompiler: public StubCompiler { | 445 class LoadStubCompiler: public StubCompiler { |
| 445 public: | 446 public: |
| 446 Object* CompileLoadField(JSObject* object, | 447 Object* CompileLoadField(JSObject* object, |
| 447 JSObject* holder, | 448 JSObject* holder, |
| 448 int index, | 449 int index, |
| 449 String* name); | 450 String* name); |
| 450 Object* CompileLoadCallback(JSObject* object, | 451 Object* CompileLoadCallback(String* name, |
| 452 JSObject* object, |
| 451 JSObject* holder, | 453 JSObject* holder, |
| 452 AccessorInfo* callback, | 454 AccessorInfo* callback); |
| 453 String* name); | |
| 454 Object* CompileLoadConstant(JSObject* object, | 455 Object* CompileLoadConstant(JSObject* object, |
| 455 JSObject* holder, | 456 JSObject* holder, |
| 456 Object* value, | 457 Object* value, |
| 457 String* name); | 458 String* name); |
| 458 Object* CompileLoadInterceptor(JSObject* object, | 459 Object* CompileLoadInterceptor(JSObject* object, |
| 459 JSObject* holder, | 460 JSObject* holder, |
| 460 String* name); | 461 String* name); |
| 461 | 462 |
| 462 Object* CompileLoadGlobal(JSObject* object, | 463 Object* CompileLoadGlobal(JSObject* object, |
| 463 GlobalObject* holder, | 464 GlobalObject* holder, |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 568 Object* CompileConstructStub(SharedFunctionInfo* shared); | 569 Object* CompileConstructStub(SharedFunctionInfo* shared); |
| 569 | 570 |
| 570 private: | 571 private: |
| 571 Object* GetCode(); | 572 Object* GetCode(); |
| 572 }; | 573 }; |
| 573 | 574 |
| 574 | 575 |
| 575 } } // namespace v8::internal | 576 } } // namespace v8::internal |
| 576 | 577 |
| 577 #endif // V8_STUB_CACHE_H_ | 578 #endif // V8_STUB_CACHE_H_ |
| OLD | NEW |