OLD | NEW |
1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 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 535 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
546 MUST_USE_RESULT static MaybeObject* GetElementOrCharAt(Handle<Object> object, | 546 MUST_USE_RESULT static MaybeObject* GetElementOrCharAt(Handle<Object> object, |
547 uint32_t index); | 547 uint32_t index); |
548 MUST_USE_RESULT static MaybeObject* GetElement(Handle<Object> object, | 548 MUST_USE_RESULT static MaybeObject* GetElement(Handle<Object> object, |
549 uint32_t index); | 549 uint32_t index); |
550 | 550 |
551 MUST_USE_RESULT static MaybeObject* SetObjectProperty( | 551 MUST_USE_RESULT static MaybeObject* SetObjectProperty( |
552 Handle<Object> object, | 552 Handle<Object> object, |
553 Handle<Object> key, | 553 Handle<Object> key, |
554 Handle<Object> value, | 554 Handle<Object> value, |
555 PropertyAttributes attr, | 555 PropertyAttributes attr, |
556 StrictModeFlag strict); | 556 StrictModeFlag strict_mode); |
557 | 557 |
558 MUST_USE_RESULT static MaybeObject* ForceSetObjectProperty( | 558 MUST_USE_RESULT static MaybeObject* ForceSetObjectProperty( |
559 Handle<JSObject> object, | 559 Handle<JSObject> object, |
560 Handle<Object> key, | 560 Handle<Object> key, |
561 Handle<Object> value, | 561 Handle<Object> value, |
562 PropertyAttributes attr); | 562 PropertyAttributes attr); |
563 | 563 |
564 MUST_USE_RESULT static MaybeObject* ForceDeleteObjectProperty( | 564 MUST_USE_RESULT static MaybeObject* ForceDeleteObjectProperty( |
565 Handle<JSObject> object, | 565 Handle<JSObject> object, |
566 Handle<Object> key); | 566 Handle<Object> key); |
567 | 567 |
568 MUST_USE_RESULT static MaybeObject* GetObjectProperty(Handle<Object> object, | 568 MUST_USE_RESULT static MaybeObject* GetObjectProperty(Handle<Object> object, |
569 Handle<Object> key); | 569 Handle<Object> key); |
570 | 570 |
571 // This function is used in FunctionNameUsing* tests. | 571 // This function is used in FunctionNameUsing* tests. |
572 static Object* FindSharedFunctionInfoInScript(Handle<Script> script, | 572 static Object* FindSharedFunctionInfoInScript(Handle<Script> script, |
573 int position); | 573 int position); |
574 | 574 |
575 // Helper functions used stubs. | 575 // Helper functions used stubs. |
576 static void PerformGC(Object* result); | 576 static void PerformGC(Object* result); |
577 }; | 577 }; |
578 | 578 |
579 | 579 |
580 } } // namespace v8::internal | 580 } } // namespace v8::internal |
581 | 581 |
582 #endif // V8_RUNTIME_H_ | 582 #endif // V8_RUNTIME_H_ |
OLD | NEW |