Chromium Code Reviews| OLD | NEW | 
|---|---|
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 327 F(GetFromCache, 2, 1) \ | 327 F(GetFromCache, 2, 1) \ | 
| 328 \ | 328 \ | 
| 329 /* Message objects */ \ | 329 /* Message objects */ \ | 
| 330 F(NewMessageObject, 2, 1) \ | 330 F(NewMessageObject, 2, 1) \ | 
| 331 F(MessageGetType, 1, 1) \ | 331 F(MessageGetType, 1, 1) \ | 
| 332 F(MessageGetArguments, 1, 1) \ | 332 F(MessageGetArguments, 1, 1) \ | 
| 333 F(MessageGetStartPosition, 1, 1) \ | 333 F(MessageGetStartPosition, 1, 1) \ | 
| 334 F(MessageGetScript, 1, 1) \ | 334 F(MessageGetScript, 1, 1) \ | 
| 335 \ | 335 \ | 
| 336 /* Pseudo functions - handled as macros by parser */ \ | 336 /* Pseudo functions - handled as macros by parser */ \ | 
| 337 F(IS_VAR, 1, 1) | 337 F(IS_VAR, 1, 1) \ | 
| 338 \ | |
| 339 /* expose boolean functions from objects-inl.h */ \ | |
| 340 F(ObjectHasFastElements, 1, 1) \ | |
| 
 
danno
2011/06/30 17:24:04
Is there any reason that you don't call these HasX
 
 | |
| 341 F(ObjectHasFastDoubleElements, 1, 1) \ | |
| 342 F(ObjectHasDictionaryElements, 1, 1) \ | |
| 343 F(ObjectHasExternalPixelElements, 1, 1) \ | |
| 344 F(ObjectHasExternalArrayElements, 1, 1) \ | |
| 345 F(ObjectHasExternalByteElements, 1, 1) \ | |
| 346 F(ObjectHasExternalUnsignedByteElements, 1, 1) \ | |
| 347 F(ObjectHasExternalShortElements, 1, 1) \ | |
| 348 F(ObjectHasExternalUnsignedShortElements, 1, 1) \ | |
| 349 F(ObjectHasExternalIntElements, 1, 1) \ | |
| 350 F(ObjectHasExternalUnsignedIntElements, 1, 1) \ | |
| 351 F(ObjectHasExternalFloatElements, 1, 1) \ | |
| 352 F(ObjectHasExternalDoubleElements, 1, 1) | |
| 353 | |
| 338 | 354 | 
| 339 #ifdef ENABLE_DEBUGGER_SUPPORT | 355 #ifdef ENABLE_DEBUGGER_SUPPORT | 
| 340 #define RUNTIME_FUNCTION_LIST_DEBUGGER_SUPPORT(F) \ | 356 #define RUNTIME_FUNCTION_LIST_DEBUGGER_SUPPORT(F) \ | 
| 341 /* Debugger support*/ \ | 357 /* Debugger support*/ \ | 
| 342 F(DebugBreak, 0, 1) \ | 358 F(DebugBreak, 0, 1) \ | 
| 343 F(SetDebugEventListener, 2, 1) \ | 359 F(SetDebugEventListener, 2, 1) \ | 
| 344 F(Break, 0, 1) \ | 360 F(Break, 0, 1) \ | 
| 345 F(DebugGetPropertyDetails, 2, 1) \ | 361 F(DebugGetPropertyDetails, 2, 1) \ | 
| 346 F(DebugGetProperty, 2, 1) \ | 362 F(DebugGetProperty, 2, 1) \ | 
| 347 F(DebugPropertyTypeFromDetails, 1, 1) \ | 363 F(DebugPropertyTypeFromDetails, 1, 1) \ | 
| (...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 638 Handle<Script> script, | 654 Handle<Script> script, | 
| 639 int position); | 655 int position); | 
| 640 | 656 | 
| 641 // Helper functions used stubs. | 657 // Helper functions used stubs. | 
| 642 static void PerformGC(Object* result); | 658 static void PerformGC(Object* result); | 
| 643 }; | 659 }; | 
| 644 | 660 | 
| 645 } } // namespace v8::internal | 661 } } // namespace v8::internal | 
| 646 | 662 | 
| 647 #endif // V8_RUNTIME_H_ | 663 #endif // V8_RUNTIME_H_ | 
| OLD | NEW |