| 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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 // any thrown exceptions. The return value is either the result of | 85 // any thrown exceptions. The return value is either the result of |
| 86 // calling the function (if caught exception is false) or the exception | 86 // calling the function (if caught exception is false) or the exception |
| 87 // that occurred (if caught exception is true). | 87 // that occurred (if caught exception is true). |
| 88 static Handle<Object> TryCall(Handle<JSFunction> func, | 88 static Handle<Object> TryCall(Handle<JSFunction> func, |
| 89 Handle<Object> receiver, | 89 Handle<Object> receiver, |
| 90 int argc, | 90 int argc, |
| 91 Handle<Object> argv[], | 91 Handle<Object> argv[], |
| 92 bool* caught_exception); | 92 bool* caught_exception); |
| 93 | 93 |
| 94 // ECMA-262 9.2 | 94 // ECMA-262 9.2 |
| 95 static Handle<Object> ToBoolean(Handle<Object> obj); | 95 static Handle<Object> ToBoolean(Isolate* isolate, Handle<Object> obj); |
| 96 | 96 |
| 97 // ECMA-262 9.3 | 97 // ECMA-262 9.3 |
| 98 static Handle<Object> ToNumber(Handle<Object> obj, bool* exc); | 98 static Handle<Object> ToNumber(Handle<Object> obj, bool* exc); |
| 99 | 99 |
| 100 // ECMA-262 9.4 | 100 // ECMA-262 9.4 |
| 101 static Handle<Object> ToInteger(Handle<Object> obj, bool* exc); | 101 static Handle<Object> ToInteger(Handle<Object> obj, bool* exc); |
| 102 | 102 |
| 103 // ECMA-262 9.5 | 103 // ECMA-262 9.5 |
| 104 static Handle<Object> ToInt32(Handle<Object> obj, bool* exc); | 104 static Handle<Object> ToInt32(Handle<Object> obj, bool* exc); |
| 105 | 105 |
| (...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 301 friend class StackLimitCheck; | 301 friend class StackLimitCheck; |
| 302 friend class PostponeInterruptsScope; | 302 friend class PostponeInterruptsScope; |
| 303 | 303 |
| 304 DISALLOW_COPY_AND_ASSIGN(StackGuard); | 304 DISALLOW_COPY_AND_ASSIGN(StackGuard); |
| 305 }; | 305 }; |
| 306 | 306 |
| 307 | 307 |
| 308 } } // namespace v8::internal | 308 } } // namespace v8::internal |
| 309 | 309 |
| 310 #endif // V8_EXECUTION_H_ | 310 #endif // V8_EXECUTION_H_ |
| OLD | NEW |