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

Issue 2006008: Create IS_SPEC_OBJECT macro to simplify javescript code.... (Closed)

Created:
10 years, 7 months ago by Rico
Modified:
9 years, 6 months ago
Reviewers:
Lasse Reichstein
CC:
v8-dev
Visibility:
Public.

Description

Create IS_SPEC_OBJECT macro to simplify javescript code. v8natives and runtime.js updated to use new macro and simplified when possible. Committed: http://code.google.com/p/v8/source/detail?r=4626

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 2

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -20 lines) Patch
M src/macros.py View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M src/runtime.js View 1 2 5 chunks +6 lines, -9 lines 0 comments Download
M src/v8natives.js View 1 2 10 chunks +10 lines, -11 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Rico
10 years, 7 months ago (2010-05-10 07:42:53 UTC) #1
Lasse Reichstein
LGTM, but reconsider the name (or functionality, if it should match the spec and not ...
10 years, 7 months ago (2010-05-10 08:47:17 UTC) #2
Rico
10 years, 7 months ago (2010-05-10 08:58:22 UTC) #3
http://codereview.chromium.org/2006008/diff/1004/2002
File src/macros.py (right):

http://codereview.chromium.org/2006008/diff/1004/2002#newcode116
src/macros.py:116: # "Type(O) is object."
On 2010/05/10 08:47:17, Lasse Reichstein wrote:
> That does not include the Null type, but %_IsObject(arg) does accept null
> arguments. I.e., this is really IS_SPEC_OBJECT_OR_NULL.
>
Good point - changed.

Powered by Google App Engine
This is Rietveld 408576698