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

Side by Side Diff: src/deoptimizer.h

Issue 1108193002: Update _MSC_FULL_VER for 'final' RC bug workaround (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 8 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
« no previous file with comments | « no previous file | 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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_DEOPTIMIZER_H_ 5 #ifndef V8_DEOPTIMIZER_H_
6 #define V8_DEOPTIMIZER_H_ 6 #define V8_DEOPTIMIZER_H_
7 7
8 #include "src/v8.h" 8 #include "src/v8.h"
9 9
10 #include "src/allocation.h" 10 #include "src/allocation.h"
(...skipping 513 matching lines...) Expand 10 before | Expand all | Expand 10 after
524 FrameDescription(uint32_t frame_size, 524 FrameDescription(uint32_t frame_size,
525 JSFunction* function); 525 JSFunction* function);
526 526
527 void* operator new(size_t size, uint32_t frame_size) { 527 void* operator new(size_t size, uint32_t frame_size) {
528 // Subtracts kPointerSize, as the member frame_content_ already supplies 528 // Subtracts kPointerSize, as the member frame_content_ already supplies
529 // the first element of the area to store the frame. 529 // the first element of the area to store the frame.
530 return malloc(size + frame_size - kPointerSize); 530 return malloc(size + frame_size - kPointerSize);
531 } 531 }
532 532
533 // Bug in VS2015 RC, reported fixed in RTM. Microsoft bug: 1153909. 533 // Bug in VS2015 RC, reported fixed in RTM. Microsoft bug: 1153909.
534 #if !defined(_MSC_FULL_VER) || _MSC_FULL_VER != 190022720 534 #if !defined(_MSC_FULL_VER) || _MSC_FULL_VER != 190022816
535 void operator delete(void* pointer, uint32_t frame_size) { 535 void operator delete(void* pointer, uint32_t frame_size) {
536 free(pointer); 536 free(pointer);
537 } 537 }
538 #endif // _MSC_FULL_VER 538 #endif // _MSC_FULL_VER
539 539
540 void operator delete(void* description) { 540 void operator delete(void* description) {
541 free(description); 541 free(description);
542 } 542 }
543 543
544 uint32_t GetFrameSize() const { 544 uint32_t GetFrameSize() const {
(...skipping 509 matching lines...) Expand 10 before | Expand all | Expand 10 after
1054 Object** parameters_; 1054 Object** parameters_;
1055 Object** expression_stack_; 1055 Object** expression_stack_;
1056 int source_position_; 1056 int source_position_;
1057 1057
1058 friend class Deoptimizer; 1058 friend class Deoptimizer;
1059 }; 1059 };
1060 1060
1061 } } // namespace v8::internal 1061 } } // namespace v8::internal
1062 1062
1063 #endif // V8_DEOPTIMIZER_H_ 1063 #endif // V8_DEOPTIMIZER_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698