Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(57)

Side by Side Diff: src/v8globals.h

Issue 136403005: Remove CALL_AS_FUNCTION and CALL_AS_METHOD. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« src/ia32/code-stubs-ia32.cc ('K') | « src/typing.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 429 matching lines...) Expand 10 before | Expand all | Expand 10 after
440 440
441 441
442 // Used to specify if a macro instruction must perform a smi check on tagged 442 // Used to specify if a macro instruction must perform a smi check on tagged
443 // values. 443 // values.
444 enum SmiCheckType { 444 enum SmiCheckType {
445 DONT_DO_SMI_CHECK, 445 DONT_DO_SMI_CHECK,
446 DO_SMI_CHECK 446 DO_SMI_CHECK
447 }; 447 };
448 448
449 449
450 // Used to specify whether a receiver is implicitly or explicitly
451 // provided to a call.
452 enum CallKind {
453 CALL_AS_METHOD,
454 CALL_AS_FUNCTION
455 };
456
457
458 enum ScopeType { 450 enum ScopeType {
459 EVAL_SCOPE, // The top-level scope for an eval source. 451 EVAL_SCOPE, // The top-level scope for an eval source.
460 FUNCTION_SCOPE, // The top-level scope for a function. 452 FUNCTION_SCOPE, // The top-level scope for a function.
461 MODULE_SCOPE, // The scope introduced by a module literal 453 MODULE_SCOPE, // The scope introduced by a module literal
462 GLOBAL_SCOPE, // The top-level scope for a program or a top-level eval. 454 GLOBAL_SCOPE, // The top-level scope for a program or a top-level eval.
463 CATCH_SCOPE, // The scope introduced by catch. 455 CATCH_SCOPE, // The scope introduced by catch.
464 BLOCK_SCOPE, // The scope introduced by a new block. 456 BLOCK_SCOPE, // The scope introduced by a new block.
465 WITH_SCOPE // The scope introduced by with. 457 WITH_SCOPE // The scope introduced by with.
466 }; 458 };
467 459
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
574 566
575 567
576 enum MinusZeroMode { 568 enum MinusZeroMode {
577 TREAT_MINUS_ZERO_AS_ZERO, 569 TREAT_MINUS_ZERO_AS_ZERO,
578 FAIL_ON_MINUS_ZERO 570 FAIL_ON_MINUS_ZERO
579 }; 571 };
580 572
581 } } // namespace v8::internal 573 } } // namespace v8::internal
582 574
583 #endif // V8_V8GLOBALS_H_ 575 #endif // V8_V8GLOBALS_H_
OLDNEW
« src/ia32/code-stubs-ia32.cc ('K') | « src/typing.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698