| 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 292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 303 | 303 |
| 304 | 304 |
| 305 enum InLoopFlag { | 305 enum InLoopFlag { |
| 306 NOT_IN_LOOP, | 306 NOT_IN_LOOP, |
| 307 IN_LOOP | 307 IN_LOOP |
| 308 }; | 308 }; |
| 309 | 309 |
| 310 | 310 |
| 311 enum CallFunctionFlags { | 311 enum CallFunctionFlags { |
| 312 NO_CALL_FUNCTION_FLAGS = 0, | 312 NO_CALL_FUNCTION_FLAGS = 0, |
| 313 RECEIVER_MIGHT_BE_VALUE = 1 << 0 // Receiver might not be a JSObject. | 313 // Receiver might implicitly be the global objects. If it is, the |
| 314 // hole is passed to the call function stub. |
| 315 RECEIVER_MIGHT_BE_IMPLICIT = 1 << 0 |
| 314 }; | 316 }; |
| 315 | 317 |
| 316 | 318 |
| 317 enum InlineCacheHolderFlag { | 319 enum InlineCacheHolderFlag { |
| 318 OWN_MAP, // For fast properties objects. | 320 OWN_MAP, // For fast properties objects. |
| 319 PROTOTYPE_MAP // For slow properties objects (except GlobalObjects). | 321 PROTOTYPE_MAP // For slow properties objects (except GlobalObjects). |
| 320 }; | 322 }; |
| 321 | 323 |
| 322 | 324 |
| 323 // Type of properties. | 325 // Type of properties. |
| (...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 490 }; | 492 }; |
| 491 | 493 |
| 492 | 494 |
| 493 // Used to specify if a macro instruction must perform a smi check on tagged | 495 // Used to specify if a macro instruction must perform a smi check on tagged |
| 494 // values. | 496 // values. |
| 495 enum SmiCheckType { | 497 enum SmiCheckType { |
| 496 DONT_DO_SMI_CHECK = 0, | 498 DONT_DO_SMI_CHECK = 0, |
| 497 DO_SMI_CHECK | 499 DO_SMI_CHECK |
| 498 }; | 500 }; |
| 499 | 501 |
| 502 |
| 503 // Used to specify whether a receiver is implicitly or explicitly |
| 504 // provided to a call. |
| 505 enum CallKind { |
| 506 CALL_AS_METHOD = 0, |
| 507 CALL_AS_FUNCTION |
| 508 }; |
| 509 |
| 500 } } // namespace v8::internal | 510 } } // namespace v8::internal |
| 501 | 511 |
| 502 #endif // V8_V8GLOBALS_H_ | 512 #endif // V8_V8GLOBALS_H_ |
| OLD | NEW |