This repository has been archived by the owner on Oct 15, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 341
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
meta: merge node/master into node-chakracore/master
Merge e782715 as of 2018-02-13 This commit was automatically generated. For any problems, please contact jackhorton Reviewed-By: chakrabot <chakrabot@users.noreply.github.com>
- Loading branch information
Showing
13 changed files
with
283 additions
and
185 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
// Copyright 2018 the V8 project authors. All rights reserved. | ||
// Use of this source code is governed by a BSD-style license that can be | ||
// found in the LICENSE file. | ||
|
||
// Flags: --allow-natives-syntax --enable-slow-asserts --expose-gc | ||
|
||
class Derived extends Array { | ||
constructor(a) { | ||
// Syntax Error. | ||
const a = 1; | ||
} | ||
} | ||
|
||
// Derived is not a subclass of RegExp | ||
let o = Reflect.construct(RegExp, [], Derived); | ||
o.lastIndex = 0x1234; | ||
%HeapObjectVerify(o); | ||
|
||
gc(); | ||
%HeapObjectVerify(o); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
'use strict'; | ||
|
||
module.exports = { | ||
// Alphabet chars. | ||
CHAR_UPPERCASE_A: 65, /*A*/ | ||
CHAR_LOWERCASE_A: 97, /*a*/ | ||
CHAR_UPPERCASE_Z: 90, /*Z*/ | ||
CHAR_LOWERCASE_Z: 122, /*z*/ | ||
|
||
// Non-alphabetic chars. | ||
CHAR_DOT: 46, /*.*/ | ||
CHAR_FORWARD_SLASH: 47, /*/*/ | ||
CHAR_BACKWARD_SLASH: 92, /*\*/ | ||
CHAR_COLON: 58, /*:*/ | ||
CHAR_QUESTION_MARK: 63, /*?*/ | ||
}; |
Oops, something went wrong.