| 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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 F(StringFromCharCodeArray, 1, 1) \ | 101 F(StringFromCharCodeArray, 1, 1) \ |
| 102 F(StringParseInt, 2, 1) \ | 102 F(StringParseInt, 2, 1) \ |
| 103 F(StringParseFloat, 1, 1) \ | 103 F(StringParseFloat, 1, 1) \ |
| 104 F(StringToLowerCase, 1, 1) \ | 104 F(StringToLowerCase, 1, 1) \ |
| 105 F(StringToUpperCase, 1, 1) \ | 105 F(StringToUpperCase, 1, 1) \ |
| 106 F(StringSplit, 3, 1) \ | 106 F(StringSplit, 3, 1) \ |
| 107 F(CharFromCode, 1, 1) \ | 107 F(CharFromCode, 1, 1) \ |
| 108 F(URIEscape, 1, 1) \ | 108 F(URIEscape, 1, 1) \ |
| 109 F(URIUnescape, 1, 1) \ | 109 F(URIUnescape, 1, 1) \ |
| 110 F(QuoteJSONString, 1, 1) \ | 110 F(QuoteJSONString, 1, 1) \ |
| 111 F(QuoteJSONStringComma, 1, 1) \ |
| 111 \ | 112 \ |
| 112 F(NumberToString, 1, 1) \ | 113 F(NumberToString, 1, 1) \ |
| 113 F(NumberToStringSkipCache, 1, 1) \ | 114 F(NumberToStringSkipCache, 1, 1) \ |
| 114 F(NumberToInteger, 1, 1) \ | 115 F(NumberToInteger, 1, 1) \ |
| 115 F(NumberToIntegerMapMinusZero, 1, 1) \ | 116 F(NumberToIntegerMapMinusZero, 1, 1) \ |
| 116 F(NumberToJSUint32, 1, 1) \ | 117 F(NumberToJSUint32, 1, 1) \ |
| 117 F(NumberToJSInt32, 1, 1) \ | 118 F(NumberToJSInt32, 1, 1) \ |
| 118 F(NumberToSmi, 1, 1) \ | 119 F(NumberToSmi, 1, 1) \ |
| 119 F(AllocateHeapNumber, 0, 1) \ | 120 F(AllocateHeapNumber, 0, 1) \ |
| 120 \ | 121 \ |
| (...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 278 F(Throw, 1, 1) \ | 279 F(Throw, 1, 1) \ |
| 279 F(ReThrow, 1, 1) \ | 280 F(ReThrow, 1, 1) \ |
| 280 F(ThrowReferenceError, 1, 1) \ | 281 F(ThrowReferenceError, 1, 1) \ |
| 281 F(StackGuard, 0, 1) \ | 282 F(StackGuard, 0, 1) \ |
| 282 F(PromoteScheduledException, 0, 1) \ | 283 F(PromoteScheduledException, 0, 1) \ |
| 283 \ | 284 \ |
| 284 /* Contexts */ \ | 285 /* Contexts */ \ |
| 285 F(NewContext, 1, 1) \ | 286 F(NewContext, 1, 1) \ |
| 286 F(PushContext, 1, 1) \ | 287 F(PushContext, 1, 1) \ |
| 287 F(PushCatchContext, 1, 1) \ | 288 F(PushCatchContext, 1, 1) \ |
| 288 F(LookupContext, 2, 1) \ | 289 F(DeleteContextSlot, 2, 1) \ |
| 289 F(LoadContextSlot, 2, 2) \ | 290 F(LoadContextSlot, 2, 2) \ |
| 290 F(LoadContextSlotNoReferenceError, 2, 2) \ | 291 F(LoadContextSlotNoReferenceError, 2, 2) \ |
| 291 F(StoreContextSlot, 3, 1) \ | 292 F(StoreContextSlot, 3, 1) \ |
| 292 \ | 293 \ |
| 293 /* Declarations and initialization */ \ | 294 /* Declarations and initialization */ \ |
| 294 F(DeclareGlobals, 3, 1) \ | 295 F(DeclareGlobals, 3, 1) \ |
| 295 F(DeclareContextSlot, 4, 1) \ | 296 F(DeclareContextSlot, 4, 1) \ |
| 296 F(InitializeVarGlobal, -1 /* 1 or 2 */, 1) \ | 297 F(InitializeVarGlobal, -1 /* 1 or 2 */, 1) \ |
| 297 F(InitializeConstGlobal, 2, 1) \ | 298 F(InitializeConstGlobal, 2, 1) \ |
| 298 F(InitializeConstContextSlot, 3, 1) \ | 299 F(InitializeConstContextSlot, 3, 1) \ |
| (...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 610 Handle<Script> script, | 611 Handle<Script> script, |
| 611 int position); | 612 int position); |
| 612 | 613 |
| 613 // Helper functions used stubs. | 614 // Helper functions used stubs. |
| 614 static void PerformGC(Object* result); | 615 static void PerformGC(Object* result); |
| 615 }; | 616 }; |
| 616 | 617 |
| 617 } } // namespace v8::internal | 618 } } // namespace v8::internal |
| 618 | 619 |
| 619 #endif // V8_RUNTIME_H_ | 620 #endif // V8_RUNTIME_H_ |
| OLD | NEW |