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 344 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
355 JSObject* object, | 355 JSObject* object, |
356 int index, | 356 int index, |
357 Map* transition, | 357 Map* transition, |
358 Register receiver_reg, | 358 Register receiver_reg, |
359 Register name_reg, | 359 Register name_reg, |
360 Register scratch, | 360 Register scratch, |
361 Label* miss_label); | 361 Label* miss_label); |
362 static void GenerateLoadMiss(MacroAssembler* masm, Code::Kind kind); | 362 static void GenerateLoadMiss(MacroAssembler* masm, Code::Kind kind); |
363 | 363 |
364 protected: | 364 protected: |
365 Object* GetCodeWithFlags(Code::Flags flags, char* name); | 365 Object* GetCodeWithFlags(Code::Flags flags, const char* name); |
366 Object* GetCodeWithFlags(Code::Flags flags, String* name); | 366 Object* GetCodeWithFlags(Code::Flags flags, String* name); |
367 | 367 |
368 MacroAssembler* masm() { return &masm_; } | 368 MacroAssembler* masm() { return &masm_; } |
369 | 369 |
370 private: | 370 private: |
371 HandleScope scope_; | 371 HandleScope scope_; |
372 MacroAssembler masm_; | 372 MacroAssembler masm_; |
373 }; | 373 }; |
374 | 374 |
375 | 375 |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
471 | 471 |
472 const ParameterCount& arguments() { return arguments_; } | 472 const ParameterCount& arguments() { return arguments_; } |
473 | 473 |
474 Object* GetCode(PropertyType type, String* name); | 474 Object* GetCode(PropertyType type, String* name); |
475 }; | 475 }; |
476 | 476 |
477 | 477 |
478 } } // namespace v8::internal | 478 } } // namespace v8::internal |
479 | 479 |
480 #endif // V8_STUB_CACHE_H_ | 480 #endif // V8_STUB_CACHE_H_ |
OLD | NEW |