Skip to content
This repository has been archived by the owner on Apr 3, 2020. It is now read-only.

Commit

Permalink
Version 5.1.281.56 (cherry-pick)
Browse files Browse the repository at this point in the history
Merged 4892cd6

[turbofan] Add a CHECK for max node input count

BUG=chromium:582702
LOG=N
[email protected]

Review URL: https://codereview.chromium.org/2023893002 .

Cr-Commit-Position: refs/branch-heads/5.1@{#67}
Cr-Branched-From: 167dc63-refs/heads/5.1.281@{#1}
Cr-Branched-From: 03953f5-refs/heads/master@{#35282}
  • Loading branch information
jakobkummerow committed May 30, 2016
1 parent 0f2e835 commit 32bf858
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion include/v8-version.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#define V8_MAJOR_VERSION 5
#define V8_MINOR_VERSION 1
#define V8_BUILD_NUMBER 281
#define V8_PATCH_LEVEL 55
#define V8_PATCH_LEVEL 56

// Use 1 for candidates and 0 otherwise.
// (Boolean macro values are not supported by all preprocessors.)
Expand Down
3 changes: 3 additions & 0 deletions src/compiler/instruction.h
Original file line number Diff line number Diff line change
Expand Up @@ -773,6 +773,9 @@ class Instruction final {
DCHECK(output_count == 0 || outputs != nullptr);
DCHECK(input_count == 0 || inputs != nullptr);
DCHECK(temp_count == 0 || temps != nullptr);
// TODO(jarin/mstarzinger): Handle this gracefully. See crbug.com/582702.
CHECK(InputCountField::is_valid(input_count));

size_t total_extra_ops = output_count + input_count + temp_count;
if (total_extra_ops != 0) total_extra_ops--;
int size = static_cast<int>(
Expand Down

0 comments on commit 32bf858

Please sign in to comment.