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

Side by Side Diff: src/v8globals.h

Issue 8353003: Revert 9673, 9674 and 9675 because of failing webkit tests. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 2 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/scopes.cc ('k') | test/cctest/test-parsing.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 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 491 matching lines...) Expand 10 before | Expand all | Expand 10 after
502 502
503 503
504 // Used to specify whether a receiver is implicitly or explicitly 504 // Used to specify whether a receiver is implicitly or explicitly
505 // provided to a call. 505 // provided to a call.
506 enum CallKind { 506 enum CallKind {
507 CALL_AS_METHOD, 507 CALL_AS_METHOD,
508 CALL_AS_FUNCTION 508 CALL_AS_FUNCTION
509 }; 509 };
510 510
511 511
512 enum ScopeType {
513 EVAL_SCOPE, // The top-level scope for an eval source.
514 FUNCTION_SCOPE, // The top-level scope for a function.
515 GLOBAL_SCOPE, // The top-level scope for a program or a top-level eval.
516 CATCH_SCOPE, // The scope introduced by catch.
517 BLOCK_SCOPE, // The scope introduced by a new block.
518 WITH_SCOPE // The scope introduced by with.
519 };
520
521
522 static const uint32_t kHoleNanUpper32 = 0x7FFFFFFF; 512 static const uint32_t kHoleNanUpper32 = 0x7FFFFFFF;
523 static const uint32_t kHoleNanLower32 = 0xFFFFFFFF; 513 static const uint32_t kHoleNanLower32 = 0xFFFFFFFF;
524 static const uint32_t kNaNOrInfinityLowerBoundUpper32 = 0x7FF00000; 514 static const uint32_t kNaNOrInfinityLowerBoundUpper32 = 0x7FF00000;
525 515
526 const uint64_t kHoleNanInt64 = 516 const uint64_t kHoleNanInt64 =
527 (static_cast<uint64_t>(kHoleNanUpper32) << 32) | kHoleNanLower32; 517 (static_cast<uint64_t>(kHoleNanUpper32) << 32) | kHoleNanLower32;
528 const uint64_t kLastNonNaNInt64 = 518 const uint64_t kLastNonNaNInt64 =
529 (static_cast<uint64_t>(kNaNOrInfinityLowerBoundUpper32) << 32); 519 (static_cast<uint64_t>(kNaNOrInfinityLowerBoundUpper32) << 32);
530 520
531 521
(...skipping 21 matching lines...) Expand all
553 INTERNAL, // like VAR, but not user-visible (may or may not 543 INTERNAL, // like VAR, but not user-visible (may or may not
554 // be in a context) 544 // be in a context)
555 545
556 TEMPORARY // temporary variables (not user-visible), never 546 TEMPORARY // temporary variables (not user-visible), never
557 // in a context 547 // in a context
558 }; 548 };
559 549
560 } } // namespace v8::internal 550 } } // namespace v8::internal
561 551
562 #endif // V8_V8GLOBALS_H_ 552 #endif // V8_V8GLOBALS_H_
OLDNEW
« no previous file with comments | « src/scopes.cc ('k') | test/cctest/test-parsing.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698