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

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: Don't store/restore ecx/rcx/r5 given that it doesn't contain callkind anymore 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
« no previous file with comments | « src/typing.cc ('k') | src/x64/builtins-x64.cc » ('j') | 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 426 matching lines...) Expand 10 before | Expand all | Expand 10 after
437 437
438 438
439 // Used to specify if a macro instruction must perform a smi check on tagged 439 // Used to specify if a macro instruction must perform a smi check on tagged
440 // values. 440 // values.
441 enum SmiCheckType { 441 enum SmiCheckType {
442 DONT_DO_SMI_CHECK, 442 DONT_DO_SMI_CHECK,
443 DO_SMI_CHECK 443 DO_SMI_CHECK
444 }; 444 };
445 445
446 446
447 // Used to specify whether a receiver is implicitly or explicitly
448 // provided to a call.
449 enum CallKind {
450 CALL_AS_METHOD,
451 CALL_AS_FUNCTION
452 };
453
454
455 enum ScopeType { 447 enum ScopeType {
456 EVAL_SCOPE, // The top-level scope for an eval source. 448 EVAL_SCOPE, // The top-level scope for an eval source.
457 FUNCTION_SCOPE, // The top-level scope for a function. 449 FUNCTION_SCOPE, // The top-level scope for a function.
458 MODULE_SCOPE, // The scope introduced by a module literal 450 MODULE_SCOPE, // The scope introduced by a module literal
459 GLOBAL_SCOPE, // The top-level scope for a program or a top-level eval. 451 GLOBAL_SCOPE, // The top-level scope for a program or a top-level eval.
460 CATCH_SCOPE, // The scope introduced by catch. 452 CATCH_SCOPE, // The scope introduced by catch.
461 BLOCK_SCOPE, // The scope introduced by a new block. 453 BLOCK_SCOPE, // The scope introduced by a new block.
462 WITH_SCOPE // The scope introduced by with. 454 WITH_SCOPE // The scope introduced by with.
463 }; 455 };
464 456
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
571 563
572 564
573 enum MinusZeroMode { 565 enum MinusZeroMode {
574 TREAT_MINUS_ZERO_AS_ZERO, 566 TREAT_MINUS_ZERO_AS_ZERO,
575 FAIL_ON_MINUS_ZERO 567 FAIL_ON_MINUS_ZERO
576 }; 568 };
577 569
578 } } // namespace v8::internal 570 } } // namespace v8::internal
579 571
580 #endif // V8_V8GLOBALS_H_ 572 #endif // V8_V8GLOBALS_H_
OLDNEW
« no previous file with comments | « src/typing.cc ('k') | src/x64/builtins-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698